mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-13 00:37:51 +00:00
Forgot Spotless
This commit is contained in:
1 parent
1cbc997be3
commit
951f5a1ad5
1 file changed
+2
-3
@@ -77,7 +77,7 @@ public class ItemBeeRing extends Item implements IBauble {
|
||||
|
||||
@Override
|
||||
public void onWornTick(ItemStack itemStack, EntityLivingBase entityLivingBase) {
|
||||
if (entityLivingBase.worldObj.getWorldTime()% 20 == 0) {
|
||||
if (entityLivingBase.worldObj.getWorldTime() % 20 == 0) {
|
||||
if (!(entityLivingBase instanceof EntityPlayer)) {
|
||||
return;
|
||||
}
|
||||
@@ -130,8 +130,7 @@ public class ItemBeeRing extends Item implements IBauble {
|
||||
try {
|
||||
effects[index][0].setInteger(0, effects[index][0].getInteger(index) + 20);
|
||||
effects[index][1].setInteger(0, effects[index][1].getInteger(index) + 20);
|
||||
}
|
||||
catch (Exception ignored) {}
|
||||
} catch (Exception ignored) {}
|
||||
|
||||
if (player.worldObj.isRemote && player.worldObj.getWorldTime() % 5 == 0) {
|
||||
effects[index] = queen.doFX(effects[index], housingLogic);
|
||||
|
||||
Reference in new issue
Block a user