MasterCake 4 years ago
parent
commit
a7d9e0fc6a
1 changed files with 1 additions and 1 deletions
  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;
 			}
 		}