From fb7913f58315b1e9c1a3534a7882b78149e274dd Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 11 Dec 2013 20:17:08 -0500 Subject: [PATCH] Fix stupid possible compiler error. --- .../fml/common/network/handshake/HandshakeMessageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/src/main/java/cpw/mods/fml/common/network/handshake/HandshakeMessageHandler.java b/fml/src/main/java/cpw/mods/fml/common/network/handshake/HandshakeMessageHandler.java index db5c22b74..c7074a79a 100644 --- a/fml/src/main/java/cpw/mods/fml/common/network/handshake/HandshakeMessageHandler.java +++ b/fml/src/main/java/cpw/mods/fml/common/network/handshake/HandshakeMessageHandler.java @@ -12,7 +12,7 @@ public class HandshakeMessageHandler & IHandshakeState> ext @SuppressWarnings("unchecked") public HandshakeMessageHandler(Class stateType) { - fmlHandshakeState = (AttributeKey) STATE; + fmlHandshakeState = (AttributeKey) ((Object)STATE); initialState = Enum.valueOf(stateType, "START"); } @Override