Time recycle update
This commit is contained in:
1 parent
98c0712dea
commit
a160fe1b00
2 files changed
+3
-9
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user