Browse Source

bane commander NPC

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
85931b6dc2
  1. 2
      src/engine/objects/Bane.java

2
src/engine/objects/Bane.java

@ -275,7 +275,7 @@ public final class Bane {
NPC baneCommander; NPC baneCommander;
int commanderuuid = DbManager.NPCQueries.BANE_COMMANDER_EXISTS(bane.getStone().getObjectUUID()); int commanderuuid = DbManager.NPCQueries.BANE_COMMANDER_EXISTS(bane.getStone().getObjectUUID());
if(commanderuuid != 0) { if(commanderuuid == 0) {
//add bane commander NPC //add bane commander NPC
int contractID = 1502042; int contractID = 1502042;
baneCommander = NPC.createNPC("Bane Commander", contractID, spawnLoc, bane.getCity().getGuild(), ZoneManager.findSmallestZone(bane.getStone().loc), (short) 70, bane.getStone()); baneCommander = NPC.createNPC("Bane Commander", contractID, spawnLoc, bane.getCity().getGuild(), ZoneManager.findSmallestZone(bane.getStone().loc), (short) 70, bane.getStone());

Loading…
Cancel
Save