mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 12:32:13 +00:00
More fixes. Around 1000 errors now, going to have to leave it to you from here on in @aidancbrady.
This commit is contained in:
1 parent
31938e8b68
commit
3d8c5c8696
22 files changed
+241
-284
No files matched your search
@@ -1,27 +1,18 @@
|
||||
package mekanism.client;
|
||||
|
||||
import mekanism.common.Mekanism;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import cpw.mods.fml.common.IPlayerTracker;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerChangedDimensionEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ClientPlayerTracker implements IPlayerTracker
|
||||
public class ClientPlayerTracker
|
||||
{
|
||||
@Override
|
||||
public void onPlayerLogin(EntityPlayer player) {}
|
||||
|
||||
@Override
|
||||
public void onPlayerLogout(EntityPlayer player) {}
|
||||
|
||||
@Override
|
||||
public void onPlayerChangedDimension(EntityPlayer player)
|
||||
@SubscribeEvent
|
||||
public void onPlayerChangedDimension(PlayerChangedDimensionEvent event)
|
||||
{
|
||||
Mekanism.jetpackOn.remove(player);
|
||||
Mekanism.jetpackOn.remove(event.player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlayerRespawn(EntityPlayer player) {}
|
||||
}
|
||||
Reference in new issue
Block a user