Fixed bridge placement annoyance
This commit is contained in:
@@ -142,7 +142,7 @@ public class Placement{
|
|||||||
|
|
||||||
Boolf<BuildPlan> placeable = plan ->
|
Boolf<BuildPlan> placeable = plan ->
|
||||||
(plan.placeable(player.team()) || (plan.tile() != null && plan.tile().block() == plan.block)) && //don't count the same block as inaccessible
|
(plan.placeable(player.team()) || (plan.tile() != null && plan.tile().block() == plan.block)) && //don't count the same block as inaccessible
|
||||||
!(plan.build() != null && plan.build().rotation != plan.rotation && avoid.get(plan.tile().block()));
|
!(plan != plans.first() && plan.build() != null && plan.build().rotation != plan.rotation && avoid.get(plan.tile().block()));
|
||||||
|
|
||||||
var result = plans1.clear();
|
var result = plans1.clear();
|
||||||
var rotated = plans.first().tile() != null && plans.first().tile().absoluteRelativeTo(plans.peek().x, plans.peek().y) == Mathf.mod(plans.first().rotation + 2, 4);
|
var rotated = plans.first().tile() != null && plans.first().tile().absoluteRelativeTo(plans.peek().x, plans.peek().y) == Mathf.mod(plans.first().rotation + 2, 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user