Listen to the BlockEvent of Reinforced Glass and trigger the update check.
This commit is contained in:
Antifluxfield 2017-09-20 00:29:49 +08:00 committed by GitHub
parent 73662e531f
commit c40f01930e

View file

@ -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);
}
}