diff --git a/CraftBukkit-Patches/0004-Spigot-Configuration.patch b/CraftBukkit-Patches/0004-Spigot-Configuration.patch index 8c58aea3b..812a2ca99 100644 --- a/CraftBukkit-Patches/0004-Spigot-Configuration.patch +++ b/CraftBukkit-Patches/0004-Spigot-Configuration.patch @@ -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 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() ) ) + {