Simple visible-through-water fix: only load system on the client's end.
Fixes an issue caused by MapHelper.wallLookup being null on servers. May want to look at a more aggressive check later? We still perform other behavior including the IL edits on the server, not that it matters much.
This commit is contained in:
1 parent
39befd8a07
commit
2edbe24bd9
1 file changed
+1
@@ -19,6 +19,7 @@ namespace CalamityMod.Walls
|
||||
|
||||
internal static class VisibleThroughWater
|
||||
{
|
||||
[Autoload(Side = ModSide.Client)]
|
||||
private sealed class VisibleThroughWaterSystem : ModSystem
|
||||
{
|
||||
public override void AddRecipes()
|
||||
|
||||
Reference in new issue
Block a user