use of com.codetaylor.mc.artisanworktables.modules.worktables.network.CSPacketWorktableLockedModeToggle in project artisan-worktables by codetaylor.
the class GuiElementButtonLocked method elementClicked.
@Override
public void elementClicked(int mouseX, int mouseY, int mouseButton) {
super.elementClicked(mouseX, mouseY, mouseButton);
AWGuiContainerBase gui = (AWGuiContainerBase) this.guiBase;
TileEntityBase tileEntity = gui.getTileEntity();
ModuleWorktables.PACKET_SERVICE.sendToServer(new CSPacketWorktableLockedModeToggle(tileEntity.getPos()));
}
Aggregations