Spy check should also check permissions

This commit is contained in:
Draycia committed 2026-01-26 00:03:39 -08:00
1 parent 3e0487ba1f
commit 503bdcc4db
1 file changed
+4
@@ -304,6 +304,10 @@ public abstract class WrappedCarbonPlayer implements CarbonPlayer {
@Override
public boolean spying() {
if (this.online() && !this.hasPermission("carbon.spy")) {
return false;
}
return this.carbonPlayerCommon.spying();
}