use of com.minecolonies.coremod.network.messages.server.colony.ChangeFreeToInteractBlockMessage in project minecolonies by ldtteam.
the class ItemScepterPermission method handleAddLocation.
@NotNull
private static ActionResultType handleAddLocation(final PlayerEntity playerIn, final World worldIn, final BlockPos pos, final IColonyView iColonyView) {
final ChangeFreeToInteractBlockMessage message = new ChangeFreeToInteractBlockMessage(iColonyView, pos, ChangeFreeToInteractBlockMessage.MessageType.ADD_BLOCK);
Network.getNetwork().sendToServer(message);
return ActionResultType.SUCCESS;
}
Aggregations