Disable updates notifications if you are not op
This commit is contained in:
parent
60ff44e8b1
commit
1ffe1f7c0f
@ -402,7 +402,7 @@ public class DisguiseListener implements Listener {
|
|||||||
new BukkitRunnable() {
|
new BukkitRunnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (!p.isOnline()) {
|
if (!p.isOnline() || !p.isOp()) {
|
||||||
cancel();
|
cancel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user