Skip to content

Commit

Permalink
EffBlockLock - Fix toString (#6)
Browse files Browse the repository at this point in the history
* Display/Types - fix clashes with Skript 2.10's display syntaxes

* EffBlockLock - fix toString
  • Loading branch information
ShaneBeee authored Nov 16, 2024
1 parent 551548d commit ff6c99c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff6c99c

Please sign in to comment.