mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix stupid possible compiler error.
This commit is contained in:
1 parent
d0d31d9575
commit
3e278acb71
1 file changed
+1
-1
@@ -12,7 +12,7 @@ public class HandshakeMessageHandler<S extends Enum<S> & IHandshakeState<S>> ext
|
||||
@SuppressWarnings("unchecked")
|
||||
public HandshakeMessageHandler(Class<S> stateType)
|
||||
{
|
||||
fmlHandshakeState = (AttributeKey<S>) STATE;
|
||||
fmlHandshakeState = (AttributeKey<S>) ((Object)STATE);
|
||||
initialState = Enum.valueOf(stateType, "START");
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user