Don't spam spy disabled message

This commit is contained in:
Draycia committed 2026-01-26 01:42:00 -08:00
1 parent a3b41f103b
commit c20ff20fee
1 file changed
+1 -1
@@ -304,7 +304,7 @@ public abstract class WrappedCarbonPlayer implements CarbonPlayer {
@Override
public boolean spying() {
if (this.carbonPlayerCommon.configManager().primaryConfig().spyPermissionRequired() &&
if (this.carbonPlayerCommon.spying() && this.carbonPlayerCommon.configManager().primaryConfig().spyPermissionRequired() &&
this.online() && !this.hasPermission("carbon.spy")) {
this.spying(false);