Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class JoinHandler {
- @SubscribeEvent
- public void OnFirstJoin(PlayerLoggedInEvent e)
- {
- EntityPlayer p = e.player;
- World w = e.player.worldObj;
- NBTTagCompound d = e.player.getEntityData();
- if(!d.getBoolean("alreadybeeningame"))
- {
- MethodManager.onFirstJoin(p);
- d.setBoolean("alreadybeeningame", true);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment