mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
Fix deployer can eat
This commit is contained in:
parent
4a7ad75cd0
commit
1378418593
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue