FishOutNPC - Simplify bouncer logic. Fix check in event.
This commit is contained in:
parent
695ca52a9a
commit
47dd4a4345
2 changed files with 4 additions and 11 deletions
|
|
@ -1889,7 +1889,7 @@ namespace TShockAPI
|
|||
public static HandlerList<FishOutNPCEventArgs> FishOutNPC = new HandlerList<FishOutNPCEventArgs>();
|
||||
private static bool OnFishOutNPC(TSPlayer player, MemoryStream data, ushort tileX, ushort tileY, short npcID)
|
||||
{
|
||||
if (FoodPlatterTryPlacing == null)
|
||||
if (FishOutNPC == null)
|
||||
return false;
|
||||
|
||||
var args = new FishOutNPCEventArgs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue