diff --git a/src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSoulboundListener.java b/src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSoulboundListener.java index dcfed78afe..cfe65281ed 100644 --- a/src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSoulboundListener.java +++ b/src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSoulboundListener.java @@ -73,7 +73,7 @@ void testItemDropIfItemDisabled(boolean enabled) { server.getPluginManager().assertEventFired(EntityDeathEvent.class, event -> { // If the item is enabled, we don't want it to drop. - return enabled == !event.getDrops().contains(item); + return enabled == !event.getDrops().contains(item.item()); }); Slimefun.getRegistry().getEnabledSlimefunItems().remove(soulboundItem); }