mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Major 1.7 work, down to a little more than 500 errors
This commit is contained in:
1 parent
1d22ddadc3
commit
6f69c6d7b4
78 files changed
+728
-740
No files matched your search
@@ -1,7 +1,5 @@
|
||||
package mekanism.common;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import mekanism.common.item.ItemFreeRunners;
|
||||
import mekanism.common.item.ItemGasMask;
|
||||
import mekanism.common.item.ItemJetpack;
|
||||
@@ -13,6 +11,7 @@ import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.network.NetHandlerPlayServer;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;
|
||||
@@ -136,7 +135,7 @@ public class CommonPlayerTickHandler
|
||||
|
||||
if(player instanceof EntityPlayerMP)
|
||||
{
|
||||
((EntityPlayerMP)player).playerNetServerHandler.ticksForFloatKick = 0;
|
||||
MekanismUtils.setPrivateValue(((EntityPlayerMP)player).playerNetServerHandler, 0, NetHandlerPlayServer.class, ObfuscatedNames.NetHandlerPlayServer_floatingTickCount);
|
||||
}
|
||||
|
||||
jetpack.useGas(player.getEquipmentInSlot(3));
|
||||
|
||||
Reference in new issue
Block a user