Add handling for liquid net module

This commit is contained in:
Chris 2020-06-02 13:34:26 +09:30
parent 48d610d33f
commit 1c0a649a0c
3 changed files with 36 additions and 2 deletions

View file

@ -1,5 +1,4 @@
using System;
using Terraria;
using Terraria;
using static TShockAPI.GetDataHandlers;
namespace TShockAPI.Handlers.NetModules
@ -48,6 +47,11 @@ namespace TShockAPI.Handlers.NetModules
handler = new PylonHandler();
break;
}
case NetModulesTypes.Liquid:
{
handler = new LiquidHandler();
break;
}
default:
{
// As of 1.4.x.x, this is now used for more things: