Use ATed methods & fields instead of ReflectionUtils. Removed ObfuscatedNames as no longer needed.

This commit is contained in:
Xander Victory committed 2017-08-14 17:24:19 +08:00
1 parent 7640990aa2
commit a30f3e076b
8 files changed
+23 -93

No files matched your search

@@ -104,7 +104,7 @@ public class CommonPlayerTickHandler
if(player instanceof EntityPlayerMP)
{
ReflectionUtils.setPrivateValue(((EntityPlayerMP)player).connection, 0, NetHandlerPlayServer.class, ObfuscatedNames.NetHandlerPlayServer_floatingTickCount);
((EntityPlayerMP)player).connection.floatingTickCount = 0;
}
jetpack.useGas(stack);