public void addEntity(Entity e)
	{
		if(entities.contains(e))
			entities.remove(e);
		if(e instanceof EntityPlayer && !players.contains(e))
		{
			for(int i = 0;i<loadedPlayers.size();i++)
			{
			    if(((EntityPlayer) e).username.equals(loadedPlayers.get(i).username))
			    {
			        e.readFromChunk(loadedPlayers.get(i).writeTaggedStorageChunk(0));
			        loadedPlayers.remove(i);
			        break;
			    }
			}
			players.add((EntityPlayer) e);
		}
		e.entityID = getCorrectID();
		entities.add(e);
		e.world = this;
	}