Cleanup comments, formatting, etc

This commit is contained in:
Travis Watkins
2013-03-24 23:22:32 -05:00
parent 7c40a073d8
commit 5f089137ee
148 changed files with 420 additions and 470 deletions

View File

@@ -474,7 +474,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
throw new IllegalStateException("TickNextTick list out of synch");
} else {
if (i > 1000) {
// CraftBukkit start - if the server has too much to process over time, try to alleviate that
// CraftBukkit start - If the server has too much to process over time, try to alleviate that
if (i > 20 * 1000) {
i = i / 20;
} else {
@@ -555,7 +555,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
iterator = this.M.iterator();
} else {
iterator = this.T.iterator();
/* CraftBukkit start - comment out debug spam
/* CraftBukkit start - Comment out debug spam
if (!this.T.isEmpty()) {
System.out.println(this.T.size());
}
@@ -626,7 +626,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
public List getTileEntities(int i, int j, int k, int l, int i1, int j1) {
ArrayList arraylist = new ArrayList();
// CraftBukkit start - use iterator
// CraftBukkit start - Use iterator
Iterator iterator = this.tileEntityList.iterator();
while (iterator.hasNext()) {
@@ -894,7 +894,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
super.n();
if (flag != this.O()) {
// CraftBukkit start - only sending weather packets to those affected
// CraftBukkit start - Only send weather packets to those affected
for (int i = 0; i < this.players.size(); ++i) {
if (((EntityPlayer) this.players.get(i)).world == this) {
((EntityPlayer) this.players.get(i)).setPlayerWeather((!flag ? WeatherType.DOWNFALL : WeatherType.CLEAR), false);