diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-28 14:18:49 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-28 14:18:49 +0000 |
commit | b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc (patch) | |
tree | fe82add58b2b925f808183661998b3d51d48fb14 /src/main/java | |
parent | c2d9af58fec008b2651dd7564421f0c65e549b7f (diff) | |
download | craftbukkit-b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc.tar craftbukkit-b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc.tar.gz craftbukkit-b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc.tar.lz craftbukkit-b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc.tar.xz craftbukkit-b6b5a1ef77792eb6f5d83e30a3e2c2a4435bdcbc.zip |
server.reload() now reloads plugins
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 8368d377..250e0ff2 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -175,5 +175,9 @@ public final class CraftServer implements Server { console.e.k = monsters ? 1 : 0; console.e.a(monsters, animals); + + pluginManager.clearPlugins(); + commandMap.clearCommands(); + loadPlugins(); } } |