Compare commits
2 Commits
ac0c11cb46
...
f294e48140
| Author | SHA1 | Date | |
|---|---|---|---|
| f294e48140 | |||
| c25f325f87 |
@@ -393,6 +393,10 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
|
||||
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem);
|
||||
|
||||
City city = workOrder.vendor.building.getCity();
|
||||
|
||||
if (city == null)
|
||||
return;
|
||||
|
||||
city.transactionLock.writeLock().lock();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user