Progress on actually getting stuff to load.
By: md_5 <md_5@live.com.au>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 0bc162abd73017c3eb6941612ef4e2669dcf65c5 Mon Sep 17 00:00:00 2001
|
||||
From 6df166564cdcd609c552fe0b217d9671e10be660 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Feb 2013 08:58:35 +1100
|
||||
Subject: [PATCH] Metrics
|
||||
@@ -657,10 +657,10 @@ index 0000000..f1690a2
|
||||
+}
|
||||
\ No newline at end of file
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
index 3bd93ad..7825cfc 100644
|
||||
index 5ebb19a..9459195 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
@@ -36,6 +36,7 @@ public class SpigotConfig
|
||||
@@ -37,6 +37,7 @@ public class SpigotConfig
|
||||
static int version;
|
||||
static Map<String, Command> commands;
|
||||
/*========================================================================*/
|
||||
@@ -668,10 +668,10 @@ index 3bd93ad..7825cfc 100644
|
||||
|
||||
public static void init()
|
||||
{
|
||||
@@ -47,6 +48,18 @@ public class SpigotConfig
|
||||
|
||||
version = getInt( "config-version", 1 );
|
||||
readConfig( SpigotConfig.class, null );
|
||||
@@ -53,6 +54,18 @@ public class SpigotConfig
|
||||
{
|
||||
MinecraftServer.getServer().server.getCommandMap().register( entry.getKey(), "Spigot", entry.getValue() );
|
||||
}
|
||||
+
|
||||
+ if ( metrics == null )
|
||||
+ {
|
||||
@@ -686,7 +686,7 @@ index 3bd93ad..7825cfc 100644
|
||||
+ }
|
||||
}
|
||||
|
||||
public static void registerCommands(SimpleCommandMap commandMap)
|
||||
static void readConfig(Class<?> clazz, Object instance)
|
||||
--
|
||||
1.8.1.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user