Skip to content

Commit

Permalink
Fixed soulbound testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Intybyte committed Nov 16, 2024
1 parent 9ff36e5 commit 16260d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 16260d6

Please sign in to comment.