This one should use 'Read' instead of 'Load' as well
This commit is contained in:
parent
c7a6d044f4
commit
21b51c577c
1 changed files with 2 additions and 2 deletions
|
|
@ -1967,7 +1967,7 @@ namespace TShockAPI
|
|||
/// </summary>
|
||||
public static HandlerList<ReadNetModuleEventArgs> ReadNetModule = new HandlerList<ReadNetModuleEventArgs>();
|
||||
|
||||
private static bool OnLoadNetModule(TSPlayer player, MemoryStream data, NetModuleType moduleType)
|
||||
private static bool OnReadNetModule(TSPlayer player, MemoryStream data, NetModuleType moduleType)
|
||||
{
|
||||
if (ReadNetModule == null)
|
||||
{
|
||||
|
|
@ -3259,7 +3259,7 @@ namespace TShockAPI
|
|||
{
|
||||
short moduleId = args.Data.ReadInt16();
|
||||
|
||||
if (OnLoadNetModule(args.Player, args.Data, (NetModuleType)moduleId))
|
||||
if (OnReadNetModule(args.Player, args.Data, (NetModuleType)moduleId))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue