mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-12-01 04:49:44 -05:00
Minor Check
This commit is contained in:
1 parent
f1d8c63aeb
commit
f06480427f
1 file changed
+2
@@ -1,6 +1,7 @@
|
||||
package de.rayzs.pat.api.storage.config.messages;
|
||||
|
||||
import de.rayzs.pat.api.storage.templates.ConfigStorage;
|
||||
import de.rayzs.pat.utils.Reflection;
|
||||
import de.rayzs.pat.utils.configuration.helper.ConfigSectionHelper;
|
||||
|
||||
public class OnlyForProxySection extends ConfigStorage {
|
||||
@@ -14,6 +15,7 @@ public class OnlyForProxySection extends ConfigStorage {
|
||||
@Override
|
||||
public void load() {
|
||||
super.load();
|
||||
if(Reflection.isProxyServer()) return;
|
||||
MESSAGE = new ConfigSectionHelper<String>(this, null, "&cThis command works on Bungeecord/Velocity servers only!").getOrSet();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user