Merge pull request #736 from gnif/patch-1
onPlayerLogin should not be static
This commit is contained in:
commit
d1bebed774
|
@ -15,8 +15,8 @@ import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
*/
|
*/
|
||||||
public class PlayerLoginHandlerThingy {
|
public class PlayerLoginHandlerThingy {
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent e) {
|
public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent e) {
|
||||||
EntityPlayer player = e.player;
|
EntityPlayer player = e.player;
|
||||||
PacketSender.sendTo(new MusePacketPropertyModifierConfig(player, null), (EntityPlayerMP)player);
|
PacketSender.sendTo(new MusePacketPropertyModifierConfig(player, null), (EntityPlayerMP)player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue