Tiny cleanup

This commit is contained in:
John Yorke committed 2022-01-08 00:03:12 -04:00
1 parent fde65b16b8
commit df2d97bd55
3 files changed
+8 -18

No files matched your search

@@ -1,19 +1,11 @@
package taintedmagic.common.blocks.tile;
import baubles.api.BaublesApi;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import taintedmagic.common.blocks.BlockLumos;
import taintedmagic.common.items.equipment.ItemLumosRing;
import taintedmagic.common.registry.ItemRegistry;
import thaumcraft.client.fx.ParticleEngine;
import thaumcraft.client.fx.particles.FXSparkle;
import thaumcraft.common.items.wands.ItemWandCasting;
public class TileLumos extends TileEntity {
@@ -24,10 +16,8 @@ public class TileLumos extends TileEntity {
@Override
public void updateEntity () {
if (this.getBlockType() instanceof BlockLumos) {
if (worldObj.rand.nextInt(15) == 0 && worldObj.isRemote) {
spawnParticles();
}
if (getBlockType() instanceof BlockLumos && worldObj.rand.nextInt(15) == 0 && worldObj.isRemote) {
spawnParticles();
}
}