From e294761ce1564999b68a63ce12ea84ead6c9fd49 Mon Sep 17 00:00:00 2001 From: Jeroen <48769316+iTwins@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:33:10 +0200 Subject: [PATCH] if statement brackets Co-authored-by: JustAHuman-xD <65748158+JustAHuman-xD@users.noreply.github.com> --- .../implementation/handlers/SimpleBlockBreakHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/SimpleBlockBreakHandler.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/SimpleBlockBreakHandler.java index 01c1fe1403..e5a7336e6e 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/SimpleBlockBreakHandler.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/SimpleBlockBreakHandler.java @@ -58,8 +58,9 @@ public void onAndroidBreak(AndroidMineEvent e) { public void onExplode(Block b, List drops) { onBlockBreak(b); SlimefunItem sfItem = BlockStorage.check(b); - if (sfItem != null) + if (sfItem != null) { drops.addAll(sfItem.getDrops()); + } } }