From e3105239a98f32e5b9c72d0481b3b5fd8d0c1220 Mon Sep 17 00:00:00 2001 From: TheCountryGamer Date: Mon, 6 Oct 2014 07:30:12 -0400 Subject: [PATCH] Update AbilityHandler.java How am I supposed to do what I do without returning what I create? --- src/main/java/morph/common/ability/AbilityHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/morph/common/ability/AbilityHandler.java b/src/main/java/morph/common/ability/AbilityHandler.java index 65de9518..8d71d71c 100644 --- a/src/main/java/morph/common/ability/AbilityHandler.java +++ b/src/main/java/morph/common/ability/AbilityHandler.java @@ -160,6 +160,7 @@ public static Ability createNewAbilityByType(String type, String[] arguments) Morph.console("Arguments are erroring when trying to create ability by type: " + abilityClass.getName() + ", "+ type + ", args: " + arguments == null ? "none" : "arg list of size " + arguments.length, true); e2.printStackTrace(); } + return ab; } else {