fix: Fixes boat turning abandoning entities (#1878)

This commit is contained in:
Kamron Batman 2024-07-20 17:51:29 -07:00 • committed by GitHub
parent b4611ab7eb
commit 428ae46bf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 9 deletions

View file

@ -19,7 +19,7 @@ namespace Server;
public interface IEntity : IPoint3D, ISerializable
{
Point3D Location { get; }
Point3D Location { get; set; }
Map Map { get; }
void MoveToWorld(Point3D location, Map map);
@ -53,7 +53,7 @@ public class Entity : IEntity
public Serial Serial { get; }
public Point3D Location { get; private set; }
public Point3D Location { get; set; }
public int X => Location.X;