*wipes sweat off brow, add /tps and /restart commands

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot
2013-06-21 18:25:45 +10:00
parent 37369ecbbd
commit 4019e76015
20 changed files with 94 additions and 115 deletions

View File

@@ -1,4 +1,4 @@
From de751bfcb848c186b0d2899a659ad39404b4ef81 Mon Sep 17 00:00:00 2001
From 0bc162abd73017c3eb6941612ef4e2669dcf65c5 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,18 +657,18 @@ 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 e84372d..8711c7a 100644
index 3bd93ad..7825cfc 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -30,6 +30,7 @@ public class SpigotConfig
static YamlConfiguration config;
@@ -36,6 +36,7 @@ public class SpigotConfig
static int version;
static Map<String, Command> commands;
/*========================================================================*/
+ private static Metrics metrics;
public static void init()
{
@@ -39,6 +40,18 @@ public class SpigotConfig
@@ -47,6 +48,18 @@ public class SpigotConfig
version = getInt( "config-version", 1 );
readConfig( SpigotConfig.class, null );
@@ -686,7 +686,7 @@ index e84372d..8711c7a 100644
+ }
}
static void readConfig(Class<?> clazz, Object instance)
public static void registerCommands(SimpleCommandMap commandMap)
--
1.8.1.2