Allow placing floors (for mods)

This commit is contained in:
Anuken
2023-05-10 12:37:25 -04:00
parent 778e7d5f3f
commit 0acb112f29
5 changed files with 18 additions and 4 deletions

View File

@@ -169,6 +169,10 @@ public class Build{
return false;
}
if(type.isFloor() && tile.floor == type){
return false;
}
if(!type.canPlaceOn(tile, team, rotation)){
return false;
}