summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/PlayerList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 92e5c893..534073b3 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -819,7 +819,7 @@ public abstract class PlayerList {
this.operators.add(s.toLowerCase());
// CraftBukkit start
- Player player = server.server.getPlayer(s);
+ Player player = server.server.getPlayerExact(s);
if (player != null) {
player.recalculatePermissions();
}
@@ -830,7 +830,7 @@ public abstract class PlayerList {
this.operators.remove(s.toLowerCase());
// CraftBukkit start
- Player player = server.server.getPlayer(s);
+ Player player = server.server.getPlayerExact(s);
if (player != null) {
player.recalculatePermissions();
}