From c2f70c0f269d8b9151ee1dfab339b6cc49147446 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 8 Apr 2024 15:58:48 -0400 Subject: [PATCH] Unused method removed --- src/engine/objects/Warehouse.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/objects/Warehouse.java b/src/engine/objects/Warehouse.java index bbb1900f..02ea37a1 100644 --- a/src/engine/objects/Warehouse.java +++ b/src/engine/objects/Warehouse.java @@ -616,13 +616,8 @@ public class Warehouse { return true; } - public static void loadAllTransactions(Warehouse warehouse) { - warehouse.transactions = DbManager.WarehouseQueries.GET_TRANSACTIONS_FOR_WAREHOUSE(warehouse.building.getObjectUUID()); - } - public static void AddTransactionToWarehouse(Warehouse warehouse, mbEnums.GameObjectType targetType, int targetUUID, mbEnums.TransactionType transactionType, mbEnums.ResourceType resource, int amount) { - if (!DbManager.WarehouseQueries.CREATE_TRANSACTION(warehouse.building.getObjectUUID(), targetType, targetUUID, transactionType, resource, amount, DateTime.now())) return;