Properly re-register commands on reload

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot
2013-06-22 14:07:01 +10:00
parent 1a3bda4647
commit 85a9d69882
22 changed files with 97 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
From dc6b4cae56006f9b5cc4a041d832d0bc314e3c16 Mon Sep 17 00:00:00 2001
From dcf6e48a2c498079f9c10f19242ee3a8869101d7 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 09:46:33 +1100
Subject: [PATCH] Merge tweaks and configuration
@@ -69,10 +69,10 @@ index afe3e4d..97da2cd 100644
if (event != null && (event.isCancelled() || entity.dead)) {
entity.dead = true;
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
index 17b43c1..705ee2e 100644
index a929766..ea7c211 100644
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
@@ -104,4 +104,18 @@ public class SpigotWorldConfig
@@ -102,4 +102,18 @@ public class SpigotWorldConfig
wheatModifier = getInt( "growth.wheat-modifier", 100 );
log( "Cactus Growth Modifier: " + cactusModifier + "%" );
}