Skip to content
Success

Changes

Summary

  1. Fix sapling drops to ignore reduction and obey Knock on Wood (#5012) (commit: 2f1278c) (details)
Commit 2f1278c784b5b4e26cc8288ee45f09149130de24 by github
Fix sapling drops to ignore reduction and obey Knock on Wood (#5012)

* Fixed NPE when party creation doesn't use password.  Solves bug reported here: https://discord.com/channels/526933440214597677/526938425161416727/1213131451235827753

Signed-off-by: Momshroom <Momshroom@gmail.com>

* Actually don't reduce sapling drop if KnockOnWood unlocked. (Prior fix didn't)

Signed-off-by: Momshroom <Momshroom@gmail.com>

* removed unnecessary getPlayer() calls.
clarified comment
clarified location variable name

Signed-off-by: Momshroom <Momshroom@gmail.com>

* made new method more generic.
Removed no longer needed dropString variable

Signed-off-by: Momshroom <Momshroom@gmail.com>

---------

Signed-off-by: Momshroom <Momshroom@gmail.com>
(commit: 2f1278c)
The file was modified src/main/java/com/gmail/nossr50/skills/woodcutting/WoodcuttingManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/Misc.java (diff)