|
|
@ -393,6 +393,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); |
|
|
|
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|
City city = workOrder.vendor.building.getCity(); |
|
|
|
City city = workOrder.vendor.building.getCity(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (city == null) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
city.transactionLock.writeLock().lock(); |
|
|
|
city.transactionLock.writeLock().lock(); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|