Adds BufferReader and BufferWriter. Updates UOP handling. (#101)
This commit is contained in:
parent
2c0d97cd36
commit
038c3be258
98 changed files with 2458 additions and 2185 deletions
|
|
@ -96,7 +96,7 @@ namespace Server.Commands
|
|||
{
|
||||
var paramList = c.GetParameters();
|
||||
object[] args = paramList.Length == 0 ? null : new object[paramList.Length];
|
||||
Array.Fill(args, Type.Missing);
|
||||
if (args != null) Array.Fill(args, Type.Missing);
|
||||
try
|
||||
{
|
||||
from.SendMessage("Duping {0}...", m_Amount);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using Server.Targeting;
|
|||
|
||||
namespace Server.Commands
|
||||
{
|
||||
public class VisibilityList
|
||||
public static class VisibilityList
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
|
|
@ -16,9 +16,9 @@ namespace Server.Commands
|
|||
CommandSystem.Register("VisClear", AccessLevel.Counselor, VisClear_OnCommand);
|
||||
}
|
||||
|
||||
public static void OnLogin(LoginEventArgs e)
|
||||
public static void OnLogin(Mobile m)
|
||||
{
|
||||
if (e.Mobile is PlayerMobile pm) pm.VisibilityList.Clear();
|
||||
(m as PlayerMobile)?.VisibilityList.Clear();
|
||||
}
|
||||
|
||||
[Usage("Vis")]
|
||||
|
|
@ -138,4 +138,4 @@ namespace Server.Commands
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue