From 89bd91197d55c8989fba62d3db4902b966c513b4 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Tue, 29 Nov 2016 22:06:43 -0500 Subject: [PATCH] Fixed silly dupe bug with the Zephyr ritual. (#988) --- changelog.txt | 1 + src/main/java/WayofTime/bloodmagic/ritual/RitualZephyr.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/changelog.txt b/changelog.txt index c47534b3..4238cd57 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version 2.1.0-68 ------------------------------------------------------ - Fixed Ritual of Regeneration's text +- Fixed silly dupe bug with the Zephyr ritual. ------------------------------------------------------ Version 2.1.0-67 diff --git a/src/main/java/WayofTime/bloodmagic/ritual/RitualZephyr.java b/src/main/java/WayofTime/bloodmagic/ritual/RitualZephyr.java index bcc120b3..7f45574d 100644 --- a/src/main/java/WayofTime/bloodmagic/ritual/RitualZephyr.java +++ b/src/main/java/WayofTime/bloodmagic/ritual/RitualZephyr.java @@ -78,6 +78,11 @@ public class RitualZephyr extends Ritual entityItem.getEntityItem().stackSize = newStack.stackSize; } + + if (newStack == null) + { + entityItem.setDead(); + } } }