combine if statements

This commit is contained in:
__felix__ authored and GitHub committed 2026-03-05 06:14:09 -05:00
1 parent 6619126fca
commit af8f29ccd3
1 file changed
+2 -3
@@ -69,8 +69,8 @@ public class TileOverchanter extends TileEntity implements IInventory, IWandable
enchantingTime = 0;
// renderedLightning = null;
} else {
if (this.isEnchantingStarted) {
if (this.worldObj.getTotalWorldTime() % 20 == 0) {
if (this.isEnchantingStarted
&& this.worldObj.getTotalWorldTime() % 20 == 0) {
// renderedLightning = new Lightning(this.worldObj.rand, new Coord3D(0,0,0), new
// Coord3D(MathUtils.randomDouble(this.worldObj.rand)/50,MathUtils.randomDouble(this.worldObj.rand)/50,MathUtils.randomDouble(this.worldObj.rand)/50),
// 0.3F, 1,0,1);
@@ -154,7 +154,6 @@ public class TileOverchanter extends TileEntity implements IInventory, IWandable
} else {
--enchantingTime;
}
}
}
}
}