From c236325a515f57dbf7aac807a32a49ecb30d2b96 Mon Sep 17 00:00:00 2001 From: vodofrede Date: Wed, 13 Oct 2021 22:22:26 +0200 Subject: [PATCH] Improved defaults --- src/main/java/dk/palmoe/immersivexp/Config.java | 4 ++-- src/main/java/dk/palmoe/immersivexp/Events.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/dk/palmoe/immersivexp/Config.java b/src/main/java/dk/palmoe/immersivexp/Config.java index af18243..b2d9b0d 100644 --- a/src/main/java/dk/palmoe/immersivexp/Config.java +++ b/src/main/java/dk/palmoe/immersivexp/Config.java @@ -12,11 +12,11 @@ import org.apache.commons.io.IOUtils;; public class Config { public int logBaseXP = 0; - public int logRandXP = 1; + public int logRandXP = 2; public int cropBaseXP = 0; public int cropRandXP = 2; public int berriesBaseXP = 0; - public int berriesRandXP = 1; + public int berriesRandXP = 2; public static final File FILE = new File("config/immersivexp.json"); public static Config INSTANCE = null; diff --git a/src/main/java/dk/palmoe/immersivexp/Events.java b/src/main/java/dk/palmoe/immersivexp/Events.java index d59239a..34c2ee2 100644 --- a/src/main/java/dk/palmoe/immersivexp/Events.java +++ b/src/main/java/dk/palmoe/immersivexp/Events.java @@ -47,6 +47,7 @@ public class Events { if (state.getBlock() instanceof SweetBerryBushBlock && world instanceof ServerWorld) { int age = state.get(SweetBerryBushBlock.AGE); if (age == 3) { + ImmersiveXP.LOGGER.info("Giving xp for sweet berry bush"); Config config = Config.getInstance(); Util.spawnXp((ServerWorld) world, hitResult.getBlockPos(), config.berriesBaseXP, config.berriesRandXP);