diff --git a/src/main/java/cn/techarts/whale/Context.java b/src/main/java/cn/techarts/whale/Context.java index 9d13a79..208b724 100644 --- a/src/main/java/cn/techarts/whale/Context.java +++ b/src/main/java/cn/techarts/whale/Context.java @@ -90,7 +90,9 @@ public Loader getLoader() { */ @Deprecated public Factory createFactory() { - if(craftFactory.launched()) return null; + if(craftFactory.launched()) { + return null; + } return this.craftFactory; }