From 3769ec42d21f7972e9026109fddeceaa503b54bd Mon Sep 17 00:00:00 2001 From: Nedelosk Date: Sat, 30 Sep 2017 16:15:52 +0200 Subject: [PATCH] Fix #1857 Couldn't find resource table forestry:chests/village_naturalist --- src/main/java/forestry/core/EventHandlerCore.java | 3 ++- .../apiculture.json => village_naturalist.json} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename src/main/resources/assets/forestry/loot_tables/chests/{village_naturalist/apiculture.json => village_naturalist.json} (100%) diff --git a/src/main/java/forestry/core/EventHandlerCore.java b/src/main/java/forestry/core/EventHandlerCore.java index 2f9a91dea..c9ae1a92b 100755 --- a/src/main/java/forestry/core/EventHandlerCore.java +++ b/src/main/java/forestry/core/EventHandlerCore.java @@ -117,7 +117,8 @@ public class EventHandlerCore { @SubscribeEvent public void lootLoad(LootTableLoadEvent event) { - if (!event.getName().getResourceDomain().equals("minecraft")) { + if (!event.getName().getResourceDomain().equals("minecraft") + && !event.getName().equals(Constants.VILLAGE_NATURALIST_LOOT_KEY)) { return; } diff --git a/src/main/resources/assets/forestry/loot_tables/chests/village_naturalist/apiculture.json b/src/main/resources/assets/forestry/loot_tables/chests/village_naturalist.json similarity index 100% rename from src/main/resources/assets/forestry/loot_tables/chests/village_naturalist/apiculture.json rename to src/main/resources/assets/forestry/loot_tables/chests/village_naturalist.json