mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 15:33:40 +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;
|
return 1 / 64f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canEat(boolean ignoreHunger) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void deployerHasEyesOnHisFeet(EntityEvent.EyeHeight event) {
|
public static void deployerHasEyesOnHisFeet(EntityEvent.EyeHeight event) {
|
||||||
if (event.getEntity() instanceof DeployerFakePlayer)
|
if (event.getEntity() instanceof DeployerFakePlayer)
|
||||||
|
|
Loading…
Reference in a new issue