mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Don't spam spy disabled message
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user