13
0
geforkt von Mirrors/Paper

Fixed player.setOp not deopping players

Dieser Commit ist enthalten in:
Dinnerbone 2011-09-02 21:30:16 +01:00
Ursprung 7c491b7bc7
Commit db691ff5c8

Datei anzeigen

@ -40,7 +40,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
@Override
public void setOp(boolean value) {
if (value == isOp()) return;
if (value) {
server.getHandle().e(getName());
} else {
server.getHandle().f(getName());
}
}
public boolean isPlayer() {