Whitespace + general cleanup

This commit is contained in:
Erik Broes
2011-05-14 16:29:42 +02:00
parent e54d8c3352
commit 309846d732
87 changed files with 474 additions and 421 deletions

View File

@@ -17,7 +17,7 @@ public class EntityTracker {
this.d = minecraftserver.serverConfigurationManager.a();
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void a(Entity entity) {
if (entity instanceof EntityPlayer) {
this.a(entity, 512, 2);
@@ -62,7 +62,7 @@ public class EntityTracker {
this.a(entity, i, j, false);
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void a(Entity entity, int i, int j, boolean flag) {
if (i > this.d) {
i = this.d;
@@ -70,7 +70,7 @@ public class EntityTracker {
if (this.b.b(entity.id)) {
// CraftBukkit - removed exception throw as tracking an already tracked entity theoretically shouldn't cause any issues.
//throw new IllegalStateException("Entity is already tracked!");
// throw new IllegalStateException("Entity is already tracked!");
} else {
EntityTrackerEntry entitytrackerentry = new EntityTrackerEntry(entity, i, j, flag);
@@ -81,7 +81,7 @@ public class EntityTracker {
}
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void untrackEntity(Entity entity) {
if (entity instanceof EntityPlayer) {
EntityPlayer entityplayer = (EntityPlayer) entity;
@@ -102,7 +102,7 @@ public class EntityTracker {
}
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void a() {
ArrayList arraylist = new ArrayList();
Iterator iterator = this.a.iterator();
@@ -131,7 +131,7 @@ public class EntityTracker {
}
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void a(Entity entity, Packet packet) {
EntityTrackerEntry entitytrackerentry = (EntityTrackerEntry) this.b.a(entity.id);
@@ -140,7 +140,7 @@ public class EntityTracker {
}
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void b(Entity entity, Packet packet) {
EntityTrackerEntry entitytrackerentry = (EntityTrackerEntry) this.b.a(entity.id);
@@ -149,7 +149,7 @@ public class EntityTracker {
}
}
// CraftBukkit -- synchronized
// CraftBukkit - synchronized
public synchronized void trackPlayer(EntityPlayer entityplayer) {
Iterator iterator = this.a.iterator();