From 55b6f9569653190eb5de57e2a2e9738b6415084e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 8 May 2024 21:58:05 -0500 Subject: [PATCH] cleanup --- src/engine/server/world/WorldServer.java | 44 ++++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index d96088bc..b7282b94 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -681,28 +681,28 @@ public class WorldServer { } //add extra vendors for lakebane // - try { - Building sdrHut = BuildingManager.getBuilding(180430); - Zone sdr = sdrHut.parentZone; - boolean exists = false; - for(NPC merchant : sdr.zoneNPCSet) - if(merchant.contract.getContractID() == 1200) { - exists = true; - merchant.sellPercent = 499.95f; - } - if (!exists) { - NPC runeMerchant = NPC.createNPC("Runey", 1200, Vector3fImmutable.ZERO, Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null); - runeMerchant.sellPercent = 499.95f; - runeMerchant.buildingUUID = sdrHut.getObjectUUID(); - runeMerchant.building = sdrHut; - NPCManager.slotCharacterInBuilding(runeMerchant); - runeMerchant.setLoc(runeMerchant.bindLoc); - runeMerchant.updateDatabase(); - } - } - catch(Exception e){ - Logger.error("FAILED TO ADD RUNE MERCHANT"); - } + //try { + // Building sdrHut = BuildingManager.getBuilding(180430); + // Zone sdr = sdrHut.parentZone; + // boolean exists = false; + // for(NPC merchant : sdr.zoneNPCSet) + // if(merchant.contract.getContractID() == 1200) { + // exists = true; + // merchant.sellPercent = 499.95f; + // } + // if (!exists) { + // NPC runeMerchant = NPC.createNPC("Runey", 1200, Vector3fImmutable.ZERO, Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null); + // runeMerchant.sellPercent = 499.95f; + // runeMerchant.buildingUUID = sdrHut.getObjectUUID(); + // runeMerchant.building = sdrHut; + // NPCManager.slotCharacterInBuilding(runeMerchant); + // runeMerchant.setLoc(runeMerchant.bindLoc); + // runeMerchant.updateDatabase(); + // } + //} + //catch(Exception e){ + // Logger.error("FAILED TO ADD RUNE MERCHANT"); + //} //try { // Building sdrHut = BuildingManager.getBuilding(27978); // Zone sdr = sdrHut.parentZone;