forked from MagicBane/Server
Refactor itembase.name to template.
This commit is contained in:
@@ -491,7 +491,7 @@ public class ItemFactory {
|
||||
int creationAmount = suffixResourceCosts.get(ibResources);
|
||||
|
||||
if (Warehouse.isResourceLocked(cityWarehouse, ibResources) == true) {
|
||||
ChatManager.chatSystemError(pc, ibResources.getName() + " is locked!" + template.item_base_name);
|
||||
ChatManager.chatSystemError(pc, "Resource is locked!" + template.item_base_name);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user