mirror of
https://github.com/kaboomserver/icontrolu.git
synced 2024-11-24 16:38:00 -05:00
Fix compiling
This commit is contained in:
parent
145cfcb0c7
commit
86d7755a53
2 changed files with 2 additions and 2 deletions
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
|
@ -47,11 +47,11 @@ class Tick extends BukkitRunnable {
|
||||||
target.setExhaustion(controller.getExhaustion());
|
target.setExhaustion(controller.getExhaustion());
|
||||||
target.setFlying(controller.isFlying());
|
target.setFlying(controller.isFlying());
|
||||||
target.setFoodLevel(controller.getFoodLevel());
|
target.setFoodLevel(controller.getFoodLevel());
|
||||||
|
|
||||||
if (controller.getMaxHealth() > 0) {
|
if (controller.getMaxHealth() > 0) {
|
||||||
target.setMaxHealth(controller.getMaxHealth());
|
target.setMaxHealth(controller.getMaxHealth());
|
||||||
}
|
}
|
||||||
|
|
||||||
target.setHealth(controller.getHealth());
|
target.setHealth(controller.getHealth());
|
||||||
target.setLevel(controller.getLevel());
|
target.setLevel(controller.getLevel());
|
||||||
target.setSneaking(controller.isSneaking());
|
target.setSneaking(controller.isSneaking());
|
||||||
|
|
Loading…
Reference in a new issue