mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Fix for isOp
This commit is contained in:
parent
f759e0b60d
commit
b8023ac3fa
@ -28,7 +28,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOp() {
|
public boolean isOp() {
|
||||||
return server.getHandle().g(getName());
|
return server.getHandle().h(getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPlayer() {
|
public boolean isPlayer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user