summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-06-12 00:02:58 +0200
committerErik Broes <erikbroes@grum.nl>2011-06-12 00:30:52 +0200
commit96b1b8a10cec88c724b83541aed6f87b188f5e14 (patch)
tree7058be20c6adb15cad2c823784b04340b1b1e44f /src/main/java/net/minecraft/server/ConsoleCommandHandler.java
parent938db4de2d86d8cc05c258eeae2c43ef428588f3 (diff)
downloadcraftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar
craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.gz
craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.lz
craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.xz
craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.zip
Generic cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/ConsoleCommandHandler.java')
-rw-r--r--src/main/java/net/minecraft/server/ConsoleCommandHandler.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
index c8d85780..a53069ce 100644
--- a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
+++ b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
@@ -4,12 +4,12 @@ import java.util.Iterator;
import java.util.Set;
import java.util.logging.Logger;
-// Craftbukkit start
+// CraftBukkit start
import java.util.List;
import org.bukkit.craftbukkit.command.ServerCommandListener;
import org.bukkit.craftbukkit.entity.CraftPlayer;
import org.bukkit.command.CommandSender;
-// Craftbukkit end
+// CraftBukkit end
public class ConsoleCommandHandler {
@@ -44,7 +44,7 @@ public class ConsoleCommandHandler {
serverconfigurationmanager.savePlayers();
}
- // Craftbukkit start
+ // CraftBukkit start
for (i = 0; i < this.server.worlds.size(); ++i) {
worldserver = this.server.worlds.get(i);
boolean save = worldserver.E;
@@ -58,15 +58,15 @@ public class ConsoleCommandHandler {
} else if (s.toLowerCase().startsWith("save-off")) {
this.print(s1, "Disabling level saving..");
- for (i = 0; i < this.server.worlds.size(); ++i) { // Craftbukkit start
- worldserver = this.server.worlds.get(i); // Craftbukkit start
+ for (i = 0; i < this.server.worlds.size(); ++i) { // CraftBukkit
+ worldserver = this.server.worlds.get(i); // CraftBukkit
worldserver.E = true;
}
} else if (s.toLowerCase().startsWith("save-on")) {
this.print(s1, "Enabling level saving..");
- for (i = 0; i < this.server.worlds.size(); ++i) { // Craftbukkit start
- worldserver = this.server.worlds.get(i); // Craftbukkit start
+ for (i = 0; i < this.server.worlds.size(); ++i) { // CraftBukkit
+ worldserver = this.server.worlds.get(i); // CraftBukkit
worldserver.E = false;
}
} else {
@@ -205,15 +205,15 @@ public class ConsoleCommandHandler {
WorldServer worldserver1;
if ("add".equalsIgnoreCase(s3)) {
- for (k = 0; k < this.server.worlds.size(); ++k) { // Craftbukkit start
- worldserver1 = this.server.worlds.get(k); // Craftbukkit start
+ for (k = 0; k < this.server.worlds.size(); ++k) { // CraftBukkit
+ worldserver1 = this.server.worlds.get(k); // CraftBukkit
worldserver1.setTime(worldserver1.getTime() + (long) j);
}
this.print(s1, "Added " + j + " to time");
} else if ("set".equalsIgnoreCase(s3)) {
- for (k = 0; k < this.server.worlds.size(); ++k) { // Craftbukkit start
- worldserver1 = this.server.worlds.get(k); // Craftbukkit start
+ for (k = 0; k < this.server.worlds.size(); ++k) { // CraftBukkit
+ worldserver1 = this.server.worlds.get(k); // CraftBukkit
worldserver1.setTime((long) j);
}