@Override
    public void packetReceived(PacketReceivedEvent e) {
         //KeepAlive
       if(e.getPacket() instanceof ServerKeepAlivePacket){
           send(new ServerKeepAlivePacket(((ClientKeepAlivePacket)e.getPacket()).getPingId()));
           return;
       }
       if(e.getPacket() instanceof ServerJoinGamePacket){
            ServerJoinGamePacket p = (ServerJoinGamePacket) e.getPacket();
            world = new World(p.getHardcore());
            getWorld().loadDimension(new Dimension(p.getDimension()));
            //TODO: Gamemode
           return;
       }
    }