SuperSmash no longer restores hunger unless you damage a player, not a entity

This commit is contained in:
libraryaddict 2015-02-01 09:47:00 +13:00
parent 4f9f0afa29
commit f9cbab6fd8

View File

@ -520,6 +520,9 @@ public class SuperSmash extends SoloGame
if (damager.equals(event.GetDamageeEntity()))
return;
if (!(event.GetDamageeEntity() instanceof Player))
return;
if (!Recharge.Instance.use(damager, "Hunger Restore", 250, false, false))
return;