More stuff for discord and mb changes

This commit is contained in:
ZeroEpoch1969
2019-04-23 00:36:51 -07:00
parent 92ad950155
commit 59ee519955
9 changed files with 35 additions and 29 deletions

View File

@ -127,7 +127,7 @@ public class MobBlocker extends FreedomService
int mobcount = 0;
for (Entity entity : event.getLocation().getWorld().getLivingEntities())
{
if (!(entity instanceof HumanEntity))
if (!(entity instanceof HumanEntity) && entity instanceof LivingEntity)
{
mobcount++;
}