mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-01-08 16:08:48 +00:00
Fix that players cannot place hanging entities
This commit is contained in:
parent
f4dcc9e786
commit
3bb40a8fff
1 changed files with 1 additions and 1 deletions
|
@ -2357,7 +2357,7 @@ import java.util.regex.Pattern;
|
|||
return;
|
||||
}
|
||||
Player p = event.getPlayer();
|
||||
if (p != null) {
|
||||
if (p == null) {
|
||||
PlotSquared.debug("PlotSquared does not support HangingPlaceEvent for non-players.");
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue