onPlayerLogin should not be static

`onPlayerLogin` should not be static, this prevents players joining a dedicated server.
This commit is contained in:
Geoffrey McRae 2016-11-29 18:22:11 +11:00 committed by GitHub
parent 3c24d9aec2
commit f338f4429a

View file

@ -15,8 +15,8 @@ import net.minecraft.entity.player.EntityPlayerMP;
*/
public class PlayerLoginHandlerThingy {
@SubscribeEvent
public static void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent e) {
public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent e) {
EntityPlayer player = e.player;
PacketSender.sendTo(new MusePacketPropertyModifierConfig(player, null), (EntityPlayerMP)player);
}
}
}