diff --git a/src/main/java/net/coreprotect/database/rollback/EntitySpawnRollbackHandler.java b/src/main/java/net/coreprotect/database/rollback/EntitySpawnRollbackHandler.java index 74e16dc7..dce422db 100644 --- a/src/main/java/net/coreprotect/database/rollback/EntitySpawnRollbackHandler.java +++ b/src/main/java/net/coreprotect/database/rollback/EntitySpawnRollbackHandler.java @@ -1088,7 +1088,7 @@ public final class EntitySpawnRollbackHandler { current.setAmount(current.getAmount() - removed); } } - return remaining == 0; + return true; } int maxStackSize = itemStack.getMaxStackSize(); @@ -1120,7 +1120,7 @@ public final class EntitySpawnRollbackHandler { contents[index] = addedItem; remaining -= added; } - return remaining == 0; + return true; } private static void scheduleTransactionStart(Context context, Work work, Entity entity, CompletableFuture completion) {