Merge remote-tracking branch 'origin/master'

This commit is contained in:
libraryaddict 2021-07-11 04:42:43 +12:00
commit 82d17f8b70

View File

@ -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;
} }