MasterCake 5 年之前
父节点
当前提交
a7d9e0fc6a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/xyz/spaceio/customoregen/CustomOreGen.java

+ 1 - 1
src/xyz/spaceio/customoregen/CustomOreGen.java

@@ -134,11 +134,11 @@ public class CustomOreGen extends JavaPlugin {
 				sendConsole(String.format("&aUsing %s as SkyBlock-Plugin", pluginName));
 				try {
 					skyblockAPI = (SkyblockAPIHook) hookInfo.getHookClass().newInstance();
+					break;
 				} catch (InstantiationException | IllegalAccessException e) {
 					// TODO Auto-generated catch block
 					e.printStackTrace();
 				}
-				break;
 			}
 		}