package choonster.testmod3.tileentity;

import choonster.testmod3.block.BlockHidden;
import choonster.testmod3.capability.hiddenblockrevealer.HiddenBlockManager;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ITickable;

/**
 * Runs client-side updates for {@link BlockHidden}.
 *
 * @author Choonster
 */
public class TileEntityHidden extends TileEntity implements ITickable {

	@Override
	public void update() {
		if (world.isRemote) {
			HiddenBlockManager.refresh(world, pos);
		}
	}
}
