From 6e14f723dab350d9f2f270a44d0f3e8c9a42fb3f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 22 Feb 2024 19:06:25 -0600 Subject: [PATCH] Resource Merchant --- src/engine/server/world/WorldServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 2dd46680..eca57199 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -662,10 +662,10 @@ public class WorldServer { Zone sdr = sdrHut.parentZone; boolean exists = false; for(NPC merchant : sdr.zoneNPCSet) - if(merchant.contract.getContractID() == 12287) + if(merchant.contract.getContractID() == 900) exists = true; if (!exists) { - NPC runeMerchant = NPC.createNPC("Stocky", 12287, Vector3fImmutable.ZERO, Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null); + NPC runeMerchant = NPC.createNPC("Stocky", 900, Vector3fImmutable.ZERO, Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null); runeMerchant.sellPercent = 9999.00f; runeMerchant.buildingUUID = sdrHut.getObjectUUID(); runeMerchant.building = sdrHut;