Apply spotless and fixing keeping item on death

This commit is contained in:
rjnasers committed 2023-04-26 16:20:41 -05:00
1 parent 729908b1b0
commit 2d78a84df1
3 files changed
+10 -8

No files matched your search

@@ -146,17 +146,13 @@ public class ItemBeeRing extends Item implements IBauble {
RingHousing housingLogic = new RingHousing(player, IBR);
IBR.setEffectAndInitialize(queen);
IBR.effectData = queen.doEffect(IBR.effectData, housingLogic);
if (player.isDead) {
return;
}
IBR.writeEffectNBT();
// Crashes irregularly for some reason I can't figure out, but this is just the bee effects around you, so it's
// not a huge deal. It would be nice to have though
// I will get around to it later. (Crash has something to do with entityFX when the player is moving)
// if (player.getEntityWorld().getWorldTime() % 5 == 0) {
// IBR.effectData = queen.doFX(IBR.effectData, housingLogic);
// }