{
if (torch != null)
{
if (world.getBlock(torch.x, torch.y, torch.z) == GCBlocks.unlitTorch)
{
world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorch, 2 + world.rand.nextInt(30), 0);
}
else if (world.getBlock(torch.x, torch.y, torch.z) == GCBlocks.unlitTorchLit)
{
world.scheduleBlockUpdateWithPriority(torch.x, torch.y, torch.z, GCBlocks.unlitTorchLit, 2 + world.rand.nextInt(30), 0);
}