mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +01:00
Fix deployer can eat
This commit is contained in:
parent
4a7ad75cd0
commit
1378418593
@ -82,6 +82,11 @@ public class DeployerFakePlayer extends FakePlayer {
|
||||
return 1 / 64f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canEat(boolean ignoreHunger) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public static void deployerHasEyesOnHisFeet(EntityEvent.EyeHeight event) {
|
||||
if (event.getEntity() instanceof DeployerFakePlayer)
|
||||
|
Loading…
Reference in New Issue
Block a user