From e386c3078a975f911b9bde066ee0878765985d3f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 17 Jul 2024 19:34:42 -0500 Subject: [PATCH] noob conc pots --- src/engine/net/client/ClientMessagePump.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index dd2584e4..ea8877e7 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1455,8 +1455,15 @@ public class ClientMessagePump implements NetMsgHandler { if (b != null && (b.getStrongboxValue() + buildingDeposit) > b.getMaxGold() && !b.isOwnerIsNPC()) { ErrorPopupMsg.sendErrorPopup(sourcePlayer, 206); return; - } - if (!itemMan.buyFromNPC(b, cost, buildingDeposit)) { + }if(npc.getContractID() == 152041){ + me.fromNoob = true; + buy = Item.createItemForPlayer(sourcePlayer, ib, me.fromNoob); + if (buy != null) { + me.transferEnchants(buy); + itemMan.addItemToInventory(buy); + itemMan.updateInventory(); + } + } else if (!itemMan.buyFromNPC(b, cost, buildingDeposit)) { // chatMan.chatSystemInfo(pc, "" + "You Failed to buy the item."); ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item"); return;