From 962eb397db2d79409c8f4be00649cde53e1b3b1a Mon Sep 17 00:00:00 2001 From: Darin McBride Date: Sun, 12 Oct 2014 08:05:50 -0600 Subject: [PATCH] No point in offering platform plans for splitting if you can't actually split them. --- lib/Lacuna/RPC/Building/TheDillonForge.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Lacuna/RPC/Building/TheDillonForge.pm b/lib/Lacuna/RPC/Building/TheDillonForge.pm index f78b8653..65bf2a32 100644 --- a/lib/Lacuna/RPC/Building/TheDillonForge.pm +++ b/lib/Lacuna/RPC/Building/TheDillonForge.pm @@ -75,6 +75,8 @@ sub _forge_tasks { my @split_plans; PLAN: for my $plan (@{$body->plan_cache}) { + # cannot split platform plans + next PLAN if $plan->class =~ /Platform$/; # Can only split plans with recipes my $glyphs = Lacuna::DB::Result::Plan->get_glyph_recipe($plan->class); next PLAN if not $glyphs; -- 2.54.0