Adds BufferReader and BufferWriter. Updates UOP handling. (#101)

This commit is contained in:
Kamron Batman 2020-04-12 21:33:24 -07:00 committed by GitHub
parent 2c0d97cd36
commit 038c3be258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2458 additions and 2185 deletions

View file

@ -115,10 +115,8 @@ namespace Server.Misc
return false;
}
public static void EventSink_Login(LoginEventArgs e)
public static void EventSink_Login(Mobile from)
{
Mobile from = e.Mobile;
if (!IsStranded(from))
return;
@ -153,7 +151,7 @@ namespace Server.Misc
int x = p.X, y = p.Y;
int z;
bool canFit = false;
bool canFit;
z = map.GetAverageZ(x, y);
canFit = map.CanSpawnMobile(x, y, z);
@ -175,4 +173,4 @@ namespace Server.Misc
from.Location = new Point3D(x, y, z);
}
}
}
}