mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Disable their natural sneakyness when raging
This commit is contained in:
parent
8b2c498a26
commit
6e3bc75619
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ abstract class MixinEntity implements EntityDuck {
|
|||
|
||||
@Inject(method = "isSneaky", at = @At("HEAD"), cancellable = true)
|
||||
private void onIsSneaky(CallbackInfoReturnable<Boolean> info) {
|
||||
if (EquinePredicates.PLAYER_KIRIN.test((Entity)(Object)this)) {
|
||||
if (EquinePredicates.PLAYER_KIRIN.test((Entity)(Object)this) && !EquinePredicates.RAGING.test((Entity)(Object)this)) {
|
||||
info.setReturnValue(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue