Search in sources :

Example 1 with BuildPickUpMessage

use of com.minecolonies.coremod.network.messages.server.colony.building.BuildPickUpMessage in project minecolonies by Minecolonies.

the class WindowBuildBuilding method pickUpBuilding.

/**
 * When the pickup building button was clicked.
 */
private void pickUpBuilding() {
    Network.getNetwork().sendToServer(new BuildPickUpMessage(building));
    close();
}
Also used : BuildPickUpMessage(com.minecolonies.coremod.network.messages.server.colony.building.BuildPickUpMessage)

Example 2 with BuildPickUpMessage

use of com.minecolonies.coremod.network.messages.server.colony.building.BuildPickUpMessage in project minecolonies by ldtteam.

the class WindowBuildBuilding method pickUpBuilding.

/**
 * When the pickup building button was clicked.
 */
private void pickUpBuilding() {
    Network.getNetwork().sendToServer(new BuildPickUpMessage(building));
    close();
}
Also used : BuildPickUpMessage(com.minecolonies.coremod.network.messages.server.colony.building.BuildPickUpMessage)

Aggregations

BuildPickUpMessage (com.minecolonies.coremod.network.messages.server.colony.building.BuildPickUpMessage)2