Minor Check

This commit is contained in:
RayzsYT committed 2024-05-19 20:28:59 +02:00
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();
}
}