diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java index 0ad10c7ff6..1560b85a7f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java @@ -113,11 +113,6 @@ public void onBlockPlace(BlockPlaceEvent e) { ItemStack item = e.getItemInHand(); SlimefunItem sfItem = SlimefunItem.getByItem(item); - // TODO: Protection manager is null in testing environment. - if (!Slimefun.instance().isUnitTest()) { - Slimefun.getProtectionManager().logAction(e.getPlayer(), e.getBlock(), Interaction.PLACE_BLOCK); - } - if (sfItem != null && !(sfItem instanceof NotPlaceable)) { // Fixes #994, should check placed block is equals to item material or not. if (item.getType() != e.getBlock().getType()) {