Invert leaf-decay message

This commit is contained in:
N0tMyFaultOG 2021-01-01 21:51:28 +01:00
parent 4f60da292a
commit f47561b580
No known key found for this signature in database
GPG Key ID: 823348042DA95A81

View File

@ -1097,7 +1097,7 @@ public class BlockEventListener implements Listener {
Plot plot = location.getOwnedPlot();
if (plot == null || !plot.getFlag(LeafDecayFlag.class)) {
if (plot != null) {
plot.debug("Leaf decaying was cancelled because leaf-decay = true");
plot.debug("Leaf decaying was cancelled because leaf-decay = false");
}
event.setCancelled(true);
}