public void GivePet(short petId) { if (Pet != null) { Owner.LeaveWorld(Pet); } Pet = Entity.Resolve(petId); Pet.PlayerOwner = this; Pet.Move(X, Y); Pet.isPet = true; Owner.EnterWorld(Pet); }