Browse Source

More itembase refactor work

combat-2
MagicBot 8 months ago
parent
commit
22f498a6f8
  1. 2
      src/engine/net/client/handlers/ActivateNPCMsgHandler.java

2
src/engine/net/client/handlers/ActivateNPCMsgHandler.java

@ -98,7 +98,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { @@ -98,7 +98,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
if (zone == null)
return false;
contract = DbManager.ContractQueries.GET_CONTRACT(contractItem.getItemBase().getUUID());
contract = DbManager.ContractQueries.GET_CONTRACT(contractItem.templateID);
if (contract == null)
return false;

Loading…
Cancel
Save