mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-11-25 14:34:47 +00:00
fix server crash aka missing annotation
This commit is contained in:
1 parent
5fa80a4ddc
commit
9f4533c4eb
1 file changed
+3
+3
@@ -2,6 +2,8 @@ package com.brandon3055.draconicevolution.common.network;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -38,6 +40,7 @@ public class NightVisionToggleAckPacket implements IMessage {
|
||||
|
||||
public static final class Handler implements IMessageHandler<NightVisionToggleAckPacket, IMessage> {
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public IMessage onMessage(NightVisionToggleAckPacket message, MessageContext ctx) {
|
||||
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
|
||||
|
||||
Reference in new issue
Block a user