use of com.minecolonies.coremod.network.messages.server.colony.building.TriggerSettingMessage in project minecolonies by Minecolonies.
the class SettingsModuleView method trigger.
@Override
public void trigger(final ISettingKey<?> key) {
final ISetting setting = settings.get(key);
setting.trigger();
Network.getNetwork().sendToServer(new TriggerSettingMessage(buildingView, key, setting));
}
use of com.minecolonies.coremod.network.messages.server.colony.building.TriggerSettingMessage in project minecolonies by ldtteam.
the class SettingsModuleView method trigger.
@Override
public void trigger(final ISettingKey<?> key) {
final ISetting setting = settings.get(key);
setting.trigger();
Network.getNetwork().sendToServer(new TriggerSettingMessage(buildingView, key, setting));
}
Aggregations