mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +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
|
@Override
|
||||||
public boolean spying() {
|
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.online() && !this.hasPermission("carbon.spy")) {
|
||||||
|
|
||||||
this.spying(false);
|
this.spying(false);
|
||||||
|
|||||||
Reference in new issue
Block a user