Load from correct class

Dieser Commit ist enthalten in:
md_5 2013-06-21 19:10:58 +10:00
Ursprung 0962624397
Commit f6514125a3

Datei anzeigen

@ -1,4 +1,4 @@
From dc35d23de6e9199f9e1636f0c9e4e44e510513fa Mon Sep 17 00:00:00 2001
From fddd6adfdc0d19ca28245d4e3618a87b6185ec94 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 19:06:58 +1000
Subject: [PATCH] Spigot Configuration
@ -78,7 +78,7 @@ index 00326c1..24f1f39 100644
pluginManager.clearPlugins();
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
new file mode 100644
index 0000000..c532dc7
index 0000000..f6d3bcb
--- /dev/null
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -0,0 +1,111 @@
@ -140,7 +140,7 @@ index 0000000..c532dc7
+
+ static void readConfig(Class<?> clazz, Object instance)
+ {
+ for ( Method method : SpigotConfig.class.getDeclaredMethods() )
+ for ( Method method : clazz.getDeclaredMethods() )
+ {
+ if ( Modifier.isPrivate( method.getModifiers() ) )
+ {