diff --git a/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffBlockLock.java b/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffBlockLock.java index 304014e2..d1a044f8 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffBlockLock.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffBlockLock.java @@ -62,7 +62,7 @@ protected void execute(Event event) { @Override public @NotNull String toString(Event e, boolean d) { - if (this.item != null) { + if (this.item == null) { return "remove lock from " + this.blocks.toString(e, d); } return "apply lock to " + this.blocks.toString(e, d) + " using " + this.item.toString(e, d);