mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix that players cannot place hanging entities
This commit is contained in:
parent
f4dcc9e786
commit
3bb40a8fff
@ -2357,7 +2357,7 @@ import java.util.regex.Pattern;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Player p = event.getPlayer();
|
Player p = event.getPlayer();
|
||||||
if (p != null) {
|
if (p == null) {
|
||||||
PlotSquared.debug("PlotSquared does not support HangingPlaceEvent for non-players.");
|
PlotSquared.debug("PlotSquared does not support HangingPlaceEvent for non-players.");
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user