Skip to content

Commit 98d6496

Browse files
Update Home.cs
1 parent d565a45 commit 98d6496

File tree

1 file changed

+1
-1
lines changed
  • src/BPEssentials/Commands/Home

1 file changed

+1
-1
lines changed

src/BPEssentials/Commands/Home/Home.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void Invoke(ShPlayer player, int homeNumber = 1)
2424
}
2525

2626
ShApartment apartment = apartments[Math.Max(0, homeNumber - 1)];
27-
player.GetExtendedPlayer().ResetAndSavePosition(apartment.GetPosition + offset, apartment.GetRotation, apartment.GetPlaceIndex);
27+
player.GetExtendedPlayer().ResetAndSavePosition(apartment.spawnPoint.position, apartment.spawnPoint.rotation, apartment.GetPlaceIndex);
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)