Misc bugfixes

This commit is contained in:
Anuken
2022-05-08 17:07:06 -04:00
parent a7ecdf8aab
commit 668b09e955
19 changed files with 52 additions and 38 deletions

View File

@@ -122,6 +122,10 @@ public final class FogControl implements CustomChunk{
return data.read.get(x + y * ww);
}
public void resetFog(){
fog = null;
}
@Nullable FogData data(Team team){
return fog == null || fog[team.id] == null ? null : fog[team.id];
}