Misc fixes

This commit is contained in:
Anuken
2022-04-09 15:33:39 -04:00
parent 95fa62f572
commit 198f05b112
5 changed files with 63 additions and 46 deletions

View File

@@ -184,7 +184,7 @@ public class Build{
if(
check == null || //nothing there
(state.rules.staticFog && !fogControl.isDiscovered(team, wx, wy)) ||
(state.rules.staticFog && state.rules.fog && !fogControl.isDiscovered(team, wx, wy)) ||
(check.floor().isDeep() && !type.floating && !type.requiresWater && !type.placeableLiquid) || //deep water
(type == check.block() && check.build != null && rotation == check.build.rotation && type.rotate) || //same block, same rotation
!check.interactable(team) || //cannot interact