This commit is contained in:
Anuken
2022-11-03 08:57:15 -04:00
parent d1f7fce7f9
commit 7e0a6b985c
3 changed files with 5 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ public final class FogControl implements CustomChunk{
}
public boolean isDiscovered(Team team, int x, int y){
if(!state.rules.staticFog || team == null || team.isAI()) return true;
if(!state.rules.staticFog || !state.rules.fog || team == null || team.isAI()) return true;
var data = getDiscovered(team);
if(data == null) return false;