Remove code smell on MobSpawnListener

This commit is contained in:
tastybento 2019-10-30 18:56:12 -07:00
parent 8389c6c2af
commit 0324d3e123

View File

@ -33,7 +33,7 @@ public class MobSpawnListener extends FlagListener {
return false;
}
switch (e.getSpawnReason()) {
// Natural
// Natural
case DEFAULT:
case DROWNED:
case JOCKEY:
@ -62,6 +62,7 @@ public class MobSpawnListener extends FlagListener {
e.setCancelled(cancel);
return cancel;
}
return false;
default:
return false;
}