mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-27 17:28:28 +01:00
Merge pull request #2634 from traksag/hanging-fix
Fix that players cannot place hanging entities
This commit is contained in:
commit
7103969bba
@ -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 New Issue
Block a user