use of mods.railcraft.common.util.network.PacketGuiReturn in project Railcraft by Railcraft.
the class GuiTrackPriming method onGuiClosed.
@Override
public void onGuiClosed() {
track.setFuse(fuse);
if (Game.isClient(track.theWorldAsserted())) {
PacketGuiReturn pkt = new PacketGuiReturn((IGuiReturnHandler) track.getTile());
PacketDispatcher.sendToServer(pkt);
}
}
use of mods.railcraft.common.util.network.PacketGuiReturn in project Railcraft by Railcraft.
the class GuiManipulatorCartIC2Unloader method onGuiClosed.
@Override
public void onGuiClosed() {
if (Game.isClient(tile.getWorld())) {
PacketGuiReturn pkt = new PacketGuiReturn(tile);
PacketDispatcher.sendToServer(pkt);
}
}
use of mods.railcraft.common.util.network.PacketGuiReturn in project Railcraft by Railcraft.
the class GuiDetectorTank method onGuiClosed.
@Override
public void onGuiClosed() {
super.onGuiClosed();
if (Game.isClient(tile.getWorld())) {
detector.getButtonController().setCurrentState(button.getController().getCurrentState());
PacketGuiReturn pkt = new PacketGuiReturn(tile);
PacketDispatcher.sendToServer(pkt);
}
}
use of mods.railcraft.common.util.network.PacketGuiReturn in project Railcraft by Railcraft.
the class GuiDetectorTrain method onGuiClosed.
@Override
public void onGuiClosed() {
detector.setTrainSize(trainSize);
if (Game.isClient(tile.getWorld())) {
PacketGuiReturn pkt = new PacketGuiReturn(tile);
PacketDispatcher.sendToServer(pkt);
}
}
Aggregations