mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Disable updates notifications if you are not op
This commit is contained in:
parent
60ff44e8b1
commit
1ffe1f7c0f
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ public class DisguiseListener implements Listener {
|
|||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!p.isOnline()) {
|
||||
if (!p.isOnline() || !p.isOp()) {
|
||||
cancel();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue