From 8cdd4910ca1b1123aa4781b465415cb27ce23151 Mon Sep 17 00:00:00 2001
From: FatBoy-DOTC <justin.chucksinsulating@gmail.com>
Date: Fri, 12 Apr 2024 20:01:01 -0500
Subject: [PATCH] NPC buy/sell use DB values

---
 src/engine/objects/NPC.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java
index b3b3aed5..24f59898 100644
--- a/src/engine/objects/NPC.java
+++ b/src/engine/objects/NPC.java
@@ -121,8 +121,8 @@ public class NPC extends AbstractCharacter {
 
             // this.buyPercent = rs.getFloat("npc_buyPercent");
 
-            this.buyPercent = .33f;
-            this.sellPercent = 1;
+            this.buyPercent = rs.getFloat("npc_buyPercent");
+            this.sellPercent = rs.getFloat("npc_sellPercent");
 
             this.setRot(new Vector3f(0, rs.getFloat("npc_rotation"), 0));