mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Use ATed methods & fields instead of ReflectionUtils. Removed ObfuscatedNames as no longer needed.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user