We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d565a45 commit 98d6496Copy full SHA for 98d6496
src/BPEssentials/Commands/Home/Home.cs
@@ -24,7 +24,7 @@ public void Invoke(ShPlayer player, int homeNumber = 1)
24
}
25
26
ShApartment apartment = apartments[Math.Max(0, homeNumber - 1)];
27
- player.GetExtendedPlayer().ResetAndSavePosition(apartment.GetPosition + offset, apartment.GetRotation, apartment.GetPlaceIndex);
+ player.GetExtendedPlayer().ResetAndSavePosition(apartment.spawnPoint.position, apartment.spawnPoint.rotation, apartment.GetPlaceIndex);
28
29
30
0 commit comments