Refactor LandGolfBallInCupHandler to use IPacketHandler<TArgs>

This commit is contained in:
Chris 2020-06-02 19:35:53 +09:30
parent f1e8fbd8ee
commit 7b316f3cd5
2 changed files with 4 additions and 3 deletions

View file

@ -55,7 +55,7 @@ namespace TShockAPI
GetDataHandlers.Emoji += EmojiHandler.OnReceive;
LandGolfBallInCupHandler = new Handlers.LandGolfBallInCupHandler();
GetDataHandlers.LandGolfBallInCup += LandGolfBallInCupHandler.OnLandGolfBallInCup;
GetDataHandlers.LandGolfBallInCup += LandGolfBallInCupHandler.OnReceive;
// Setup hooks
GetDataHandlers.GetSection += OnGetSection;