use of mods.railcraft.common.util.network.IGuiReturnHandler in project Railcraft by Railcraft.
the class GuiAspectAction method onGuiClosed.
@Override
public void onGuiClosed() {
if (changed && actionManager instanceof IGuiReturnHandler && canChange()) {
prepareForPacket();
PacketGuiReturn pkt = new PacketGuiReturn((IGuiReturnHandler) actionManager);
PacketDispatcher.sendToServer(pkt);
}
}
Aggregations