Fix compiling

This commit is contained in:
mathiascode 2020-02-27 16:16:25 +02:00
parent 145cfcb0c7
commit 86d7755a53
2 changed files with 2 additions and 2 deletions

0
.gitignore vendored Executable file → Normal file
View File

View File

@ -47,11 +47,11 @@ class Tick extends BukkitRunnable {
target.setExhaustion(controller.getExhaustion());
target.setFlying(controller.isFlying());
target.setFoodLevel(controller.getFoodLevel());
if (controller.getMaxHealth() > 0) {
target.setMaxHealth(controller.getMaxHealth());
}
target.setHealth(controller.getHealth());
target.setLevel(controller.getLevel());
target.setSneaking(controller.isSneaking());