Fixed FoW on campaign maps

This commit is contained in:
Anuken
2022-03-01 15:26:44 -05:00
parent f8851453ad
commit 440f58ad19
7 changed files with 25 additions and 8 deletions
@@ -17,7 +17,7 @@ public class LegacyRegionSaveVersion extends SaveVersion{
@Override
public void read(DataInputStream stream, CounterInputStream counter, WorldContext context) throws IOException{
region("meta", stream, counter, this::readMeta);
region("meta", stream, counter, in -> readMeta(in, context));
region("content", stream, counter, this::readContentHeader);
try{