diff --git a/core/src/mindustry/ui/fragments/PlacementFragment.java b/core/src/mindustry/ui/fragments/PlacementFragment.java index 507b31dd91..9446ff0dcd 100644 --- a/core/src/mindustry/ui/fragments/PlacementFragment.java +++ b/core/src/mindustry/ui/fragments/PlacementFragment.java @@ -92,17 +92,19 @@ public class PlacementFragment extends Fragment{ if(Core.input.keyDown(Binding.pick) && player.isBuilder()){ //mouse eyedropper select Tilec tile = world.entWorld(Core.input.mouseWorld().x, Core.input.mouseWorld().y); Block tryRecipe = tile == null ? null : tile.block(); + Object tryConfig = tile == null ? null : tile.config(); for(BuildRequest req : player.builder().requests()){ if(!req.breaking && req.block.bounds(req.x, req.y, Tmp.r1).contains(Core.input.mouseWorld())){ tryRecipe = req.block; + tryConfig = req.config; break; } } if(tryRecipe != null && tryRecipe.isVisible() && unlocked(tryRecipe)){ input.block = tryRecipe; - tryRecipe.lastConfig = tile.config(); + tryRecipe.lastConfig = tryConfig; currentCategory = input.block.category; return true; } diff --git a/gradle.properties b/gradle.properties index 347cec9ddb..69581981c7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=87f9fe69f86966c2f3b8da5a7391b0cd0a4cff8f +archash=41fc7758d3853b18fdeb2e4c657a99895f44e721