Fix CraftBukkit comments.

This commit is contained in:
Erik Broes
2012-01-12 12:02:39 +01:00
parent 42e473783e
commit 7f079a0cd6
28 changed files with 136 additions and 138 deletions

View File

@@ -42,7 +42,7 @@ public class ServerConfigurationManager {
private File l;
private File m;
public PlayerFileData playerFileData; // CraftBukkit - private - >public
public boolean hasWhitelist; // Craftbukkit - private -> public
public boolean hasWhitelist; // CraftBukkit - private -> public
private int p = 0;
// CraftBukkit start
@@ -511,24 +511,24 @@ public class ServerConfigurationManager {
this.operators.add(s.toLowerCase());
this.q();
// Craftbukkit start
// CraftBukkit start
Player player = server.server.getPlayer(s);
if (player != null) {
player.recalculatePermissions();
}
// Craftbukkit end
// CraftBukkit end
}
public void removeOp(String s) {
this.operators.remove(s.toLowerCase());
this.q();
// Craftbukkit start
// CraftBukkit start
Player player = server.server.getPlayer(s);
if (player != null) {
player.recalculatePermissions();
}
// Craftbukkit end
// CraftBukkit end
}
private void p() {
@@ -705,7 +705,7 @@ public class ServerConfigurationManager {
public void updateClient(EntityPlayer entityplayer) {
entityplayer.updateInventory(entityplayer.defaultContainer);
entityplayer.s_();
entityplayer.cf = -1; // CraftBukkit added
entityplayer.cf = -1; // CraftBukkit
}
public int getPlayerCount() {