diff --git a/src/services/LootService.java b/src/services/LootService.java index 935d4cbb..4f9b872e 100644 --- a/src/services/LootService.java +++ b/src/services/LootService.java @@ -81,8 +81,8 @@ public class LootService implements INetworkDispatch { private NGECore core; private static int prepInvCnt = 0; - //String testDropTemplate = null; - String testDropTemplate = "comlink"; + String testDropTemplate = null; + //String testDropTemplate = "comlink"; public LootService(NGECore core) { this.core = core; @@ -552,8 +552,8 @@ public class LootService implements INetworkDispatch { if (randomItemFromPool<=remainder){ // this element has been chosen e.g. kraytpearl_flawless //System.err.println("CHOSEN ITEM " + itemNames.get(i)); - //handleLootPoolItems(itemNames.get(i), lootRollSession); - handleLootPoolItems(testDropTemplate, lootRollSession); + handleLootPoolItems(itemNames.get(i), lootRollSession); + //handleLootPoolItems(testDropTemplate, lootRollSession); //break; return; } @@ -579,7 +579,7 @@ public class LootService implements INetworkDispatch { } private void handleLootPoolItems(String itemName,LootRollSession lootRollSession){ - System.out.println("itemName " + itemName); + //System.out.println("itemName " + itemName); final Vector foundPath = new Vector(); Path p = Paths.get("scripts/loot/lootItems/"); FileVisitor fv = new SimpleFileVisitor() { @@ -723,7 +723,7 @@ public class LootService implements INetworkDispatch { if (!customName.isEmpty()) handleCustomDropName(droppedItem, customName); - stackable = 1; + //stackable = 1; if (stackable!=-1){ if(stackable==1) droppedItem.setStackable(true);