mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
parent
d49bfa612e
commit
ef54775ca7
@ -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;
|
||||||
@ -1748,7 +1749,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
case PAINTING:
|
case PAINTING:
|
||||||
case ARMOR_STAND:
|
case ARMOR_STAND:
|
||||||
return checkEntity(plot, Flags.ENTITY_CAP, Flags.MISC_CAP);
|
return checkEntity(plot, Flags.ENTITY_CAP, Flags.MISC_CAP);
|
||||||
// misc
|
// misc
|
||||||
case MINECART:
|
case MINECART:
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
case MINECART_COMMAND:
|
case MINECART_COMMAND:
|
||||||
|
Loading…
Reference in New Issue
Block a user