this(world);
initializeFakePlayer(world, player.getGameProfile().getId().toString(), player.getCommandSenderName());
}
private void initializeFakePlayer(World world, String uuid, String name){
fakePlayer = new DroneFakePlayer((WorldServer)world, new GameProfile(uuid != null ? UUID.fromString(uuid) : null, name), new FakePlayerItemInWorldManager(world, fakePlayer, this));
fakePlayer.playerNetServerHandler = new NetHandlerPlayServer(MinecraftServer.getServer(), new NetworkManager(false), fakePlayer);
fakePlayer.inventory = new InventoryFakePlayer(fakePlayer);
playerName = name;
}