Skip to content

Commit

Permalink
Add optimization for Slimefun deletion. #2289
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jan 31, 2024
1 parent c9b7074 commit b255088
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public String getFailureCause() {
}

public void clearBlockInfo(Location location, boolean destroy) {
BlockStorage.clearBlockInfo(location, destroy);
if (BlockStorage.hasBlockInfo(location)) {
BlockStorage.clearBlockInfo(location, destroy);
}
}


Expand Down

0 comments on commit b255088

Please sign in to comment.