From 210d0b8403665bc82740ceb1ee98c088f92ac5c3 Mon Sep 17 00:00:00 2001 From: gottsch <17928819+gottsch@users.noreply.github.com> Date: Tue, 16 Jul 2019 19:24:05 -0400 Subject: [PATCH] Fixed bug where Treasure items weren't being added to chests. --- Treasure2-1.12.2/gradle.properties | 2 +- .../src/com/someguyssoftware/treasure2/Treasure.java | 2 +- .../treasure2/loot/TreasureLootTableMaster.java | 1 + Treasure2-1.12.2/src/resources/mcmod.info | 2 +- Treasure2-1.12.2/update.json | 7 ++++--- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Treasure2-1.12.2/gradle.properties b/Treasure2-1.12.2/gradle.properties index 6281fd405..3a067136a 100644 --- a/Treasure2-1.12.2/gradle.properties +++ b/Treasure2-1.12.2/gradle.properties @@ -6,7 +6,7 @@ mod_name=Treasure2 package_group=someguyssoftware.treasure2 # user alpha, beta, or v (for version) mod_version_type=v -mod_version=1.3.6 +mod_version=1.3.7 mc_version=1.12.2 forge_version=14.23.5.2768 diff --git a/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/Treasure.java b/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/Treasure.java index 2f423ffc7..433577d5b 100644 --- a/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/Treasure.java +++ b/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/Treasure.java @@ -81,7 +81,7 @@ public class Treasure extends AbstractMod { // constants public static final String MODID = "treasure2"; protected static final String NAME = "Treasure2"; - protected static final String VERSION = "1.3.6"; + protected static final String VERSION = "1.3.7"; public static final String UPDATE_JSON_URL = "https://raw.githubusercontent.com/gottsch/gottsch-minecraft-Treasure/master/Treasure2-1.12.2/update.json"; private static final String VERSION_URL = ""; diff --git a/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/loot/TreasureLootTableMaster.java b/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/loot/TreasureLootTableMaster.java index 0bc76d882..629f231a5 100644 --- a/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/loot/TreasureLootTableMaster.java +++ b/Treasure2-1.12.2/src/com/someguyssoftware/treasure2/loot/TreasureLootTableMaster.java @@ -77,6 +77,7 @@ public class TreasureLootTableMaster extends LootTableMaster { * relative location of other loot tables - in resource path or file system */ private static final List NON_CHEST_LOOT_TABLE_FOLDER_LOCATIONS = ImmutableList.of( + "treasure", "armor", "food", "items", diff --git a/Treasure2-1.12.2/src/resources/mcmod.info b/Treasure2-1.12.2/src/resources/mcmod.info index 8d0bba14c..d2bad7adc 100644 --- a/Treasure2-1.12.2/src/resources/mcmod.info +++ b/Treasure2-1.12.2/src/resources/mcmod.info @@ -3,7 +3,7 @@ "modid": "treasure2", "name": "Treasure2!", "description": "", - "version": "1.3.6", + "version": "1.3.7", "mcversion": "1.12.2", "url": "", "updateUrl": "", diff --git a/Treasure2-1.12.2/update.json b/Treasure2-1.12.2/update.json index 19b5f5953..3e881f098 100644 --- a/Treasure2-1.12.2/update.json +++ b/Treasure2-1.12.2/update.json @@ -1,8 +1,8 @@ { "homepage": "https://minecraft.curseforge.com/projects/treasure2", "promos": { - "1.12.2-latest": "1.3.6", - "1.12.2-recommended": "1.3.6" + "1.12.2-latest": "1.3.7", + "1.12.2-recommended": "1.3.7" }, "1.12.2": { "0.5.0": "alpha release", @@ -21,7 +21,8 @@ "1.3.0": "Renamed TreasureChestCommand to SpawnChestCommand.\nFixed 2x2 recipes to show up in players crafting box.\nAdded advancements for recipes.\nIncreased Wither Chests inventory size and added new inventory GUI.\nAdded Eye Patch to the loot tables.\nAdded Gold Skull Chest.\nAdded Sapphire and Ruby items and ore.\nMake Keys unstackable.\nFixed Key Ring decrement by 8 bug.\nAdd SwapIfModPresent loot table function.\nFix pickup/throw KeyRing when its inventory gui is open.\nAdded two new pit trap.", "1.3.1": "Fixed BigBottomMobTrapPitGenerator to generate the entire pit correctly -> no missing layers.\nAdded Proximity Block/Spawner.\nUpdated BigBottomMobTrapPitGenerator to use ProximityBlocks to generate mobs.\nFixed skull and bones block bounding box and rendering.\nFixed Held Item into Treasure container bug.\n", "1.3.5": "Updated to use GottschCore v1.7\nAdded Cauldron Chest (epic).\nAdded Skeleton Block.\nAdded Marker Generator.\nFixed world.isRemote() checks with GottschCore call WorldInfo.isServer/Client().\nExpose custom loot tables.\nUse of GottschCore Loot Tables system instead of Treasure2s.\nFixed so that Skeletons can be placed in Fog.\n", - "1.3.6": "Fixed Coin toss in well crash bug.\nRemoved all references to old Loot Tables setup (in ref to coin/well bug).\nFix foreign mod loot table registering.\nUpdated mo'creates, sgs metals loot tables to point to right loot tables.\n'" + "1.3.6": "Fixed Coin toss in well crash bug.\nRemoved all references to old Loot Tables setup (in ref to coin/well bug).\nFix foreign mod loot table registering.\nUpdated mocreates, sgs metals loot tables to point to right loot tables.\n", + "1.3.7": "Fixed bug where Treasure items weren't being added to chests.\n" } } \ No newline at end of file