use of net.blay09.mods.waystones.network.message.MessageWaystones in project Waystones by blay09.
the class WaystoneManager method sendPlayerWaystones.
public static void sendPlayerWaystones(EntityPlayer player) {
if (player instanceof EntityPlayerMP) {
PlayerWaystoneData waystoneData = PlayerWaystoneData.fromPlayer(player);
NetworkHandler.channel.sendTo(new MessageWaystones(waystoneData.getWaystones(), waystoneData.getLastFreeWarp(), waystoneData.getLastWarpStoneUse()), (EntityPlayerMP) player);
}
}
Aggregations