From 393d9ca74ef5db89b5f2c45fa6bf8689600d65eb Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Mon, 13 Jan 2014 14:18:16 +0100 Subject: [PATCH] Fixed bug where Hylian Luck was broken Fixes #1771 --- Changelog.txt | 1 + .../com/gmail/nossr50/skills/herbalism/HerbalismManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index e5a47b5b4..e82c8f3c7 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -29,6 +29,7 @@ Version 1.4.08-dev = Fixed bug where `/addlevels all` and `/skillreset all` didn't work = Fixed bug which made it possible to gain XP by taming the same horse multiple times, if a player "untamed" that horse = Fixed bug where the /ptp request expiration time was checked wrongly - preventing players from using the command + = Fixed bug where Hylian Luck was broken ! Updated localization files ! Changed the appearance of /mcmmo commands ! Changed AxesCritical to CriticalHit in config file diff --git a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java index 957f4c686..c28249df5 100644 --- a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java +++ b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java @@ -232,7 +232,7 @@ public class HerbalismManager extends SkillManager { Player player = getPlayer(); - if (treasures.isEmpty() || EventUtils.simulateBlockBreak(blockState.getBlock(), player, false)) { + if (treasures.isEmpty() || !EventUtils.simulateBlockBreak(blockState.getBlock(), player, false)) { return false; }