forked from MagicBane/Server
Refactor out itembase
This commit is contained in:
@@ -50,7 +50,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
|
||||
for (Item hirelings : player.getInventory()) {
|
||||
if (hirelings.template.item_type.equals(ItemType.EMPLOYMENTCONTRACT)) {
|
||||
|
||||
contract = DbManager.ContractQueries.GET_CONTRACT(hirelings.templsteID);
|
||||
contract = DbManager.ContractQueries.GET_CONTRACT(hirelings.templateID);
|
||||
|
||||
if (contract == null)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user