Fixed silly dupe bug with the Zephyr ritual. (#988)
This commit is contained in:
parent
efb3077fdf
commit
89bd91197d
|
@ -2,6 +2,7 @@
|
||||||
Version 2.1.0-68
|
Version 2.1.0-68
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
- Fixed Ritual of Regeneration's text
|
- Fixed Ritual of Regeneration's text
|
||||||
|
- Fixed silly dupe bug with the Zephyr ritual.
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.1.0-67
|
Version 2.1.0-67
|
||||||
|
|
|
@ -78,6 +78,11 @@ public class RitualZephyr extends Ritual
|
||||||
|
|
||||||
entityItem.getEntityItem().stackSize = newStack.stackSize;
|
entityItem.getEntityItem().stackSize = newStack.stackSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (newStack == null)
|
||||||
|
{
|
||||||
|
entityItem.setDead();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue