wtf, this has its own spawn reason, thanks spigot

Fixes #1803
This commit is contained in:
Jesse Boyd 2018-05-07 10:15:02 +10:00
parent d49bfa612e
commit ef54775ca7
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -1544,6 +1544,7 @@ public class PlayerEvents extends PlotListener implements Listener {
switch (reason) { switch (reason) {
case SPAWNER_EGG: case SPAWNER_EGG:
case DISPENSE_EGG: case DISPENSE_EGG:
case OCELOT_BABY:
if (!area.SPAWN_EGGS) { if (!area.SPAWN_EGGS) {
event.setCancelled(true); event.setCancelled(true);
return; return;