Add proper @SideOnly(Side.CLIENT) annotations

with help from Minecraft Dev Plugin
https://plugins.jetbrains.com/idea/plugin/8327-minecraft-development
This commit is contained in:
mezz committed 2017-02-14 21:12:09 -08:00
1 parent fc0d144508
commit e93633d999
324 files changed
+1800 -1281

No files matched your search

@@ -25,8 +25,8 @@ import forestry.api.mail.IPostRegistry;
import forestry.api.mail.IPostalCarrier;
import forestry.api.mail.ITradeStation;
import forestry.api.mail.PostManager;
import forestry.core.proxy.Proxies;
import forestry.core.utils.Log;
import forestry.core.utils.NetworkUtil;
import forestry.core.utils.PlayerUtil;
import forestry.mail.network.packets.PacketPOBoxInfoResponse;
import net.minecraft.entity.player.EntityPlayer;
@@ -77,7 +77,7 @@ public class PostRegistry implements IPostRegistry {
EntityPlayer player = PlayerUtil.getPlayer(world, address.getPlayerProfile());
if (player != null) {
Proxies.net.sendToPlayer(new PacketPOBoxInfoResponse(pobox.getPOBoxInfo()), player);
NetworkUtil.sendToPlayer(new PacketPOBoxInfoResponse(pobox.getPOBoxInfo()), player);
}
}