Removed cast in validation
This commit is contained in:
@@ -138,10 +138,9 @@ public enum ForgeManager implements Runnable {
|
||||
if (!workOrder.vendor.charItemManager.hasRoomInventory(template.item_wt))
|
||||
return 30; //30: That person cannot carry that item
|
||||
|
||||
if (!workOrder.vendor.getItemModTable().contains(((byte) template.modTable)))
|
||||
if (!workOrder.vendor.getItemModTable().contains((template.modTable)))
|
||||
return 59; //59: This hireling does not have this formula
|
||||
|
||||
|
||||
if (!calcCostOverrun(workOrder).isEmpty())
|
||||
return 10; //18: You can't really afford that
|
||||
|
||||
|
||||
Reference in New Issue
Block a user