Cubot implements Attackable (untested)

This commit is contained in:
simon
2018-03-10 09:49:34 -05:00
parent d1a3cf9307
commit 8ed192f8d0
7 changed files with 157 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ public class HarvesterNPC extends NonPlayerCharacter {
}
@Override
public void onDeadCallback() {
public boolean onDeadCallback() {
getWorld().decUpdatable();
@@ -56,6 +56,8 @@ public class HarvesterNPC extends NonPlayerCharacter {
GameServer.INSTANCE.getEventDispatcher().dispatch(
new ObjectDeathEvent(this, ID));
return false;
}
@Override