Fix #562
Listen to the BlockEvent of Reinforced Glass and trigger the update check.
This commit is contained in:
parent
73662e531f
commit
c40f01930e
1 changed files with 7 additions and 1 deletions
|
@ -1888,5 +1888,11 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler {
|
|||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onBlockEvent(BlockEvent event) {
|
||||
if (event.block.getUnlocalizedName().equals("blockAlloyGlass"))
|
||||
GregTech_API.causeMachineUpdate(event.world, event.x, event.y, event.z);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue