Merge pull request #736 from gnif/patch-1

onPlayerLogin should not be static
This commit is contained in:
lehjr 2016-11-29 08:26:34 -05:00 committed by GitHub
commit d1bebed774

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);
}
}
}