Skip to content

Commit 5e0ee2e

Browse files
Fixing weaving-death-place check for plots
1 parent b7403a2 commit 5e0ee2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public void onWeavingEffect(EntityChangeBlockEvent event) {
261261
}
262262
return;
263263
}
264-
if (plot.getFlag(WeavingDeathPlace.class)) {
264+
if (!plot.getFlag(WeavingDeathPlace.class)) {
265265
plot.debug(event.getTo() + " could not spawn because weaving-death-place = false");
266266
event.setCancelled(true);
267267
}

0 commit comments

Comments
 (0)