Skip to content

Commit

Permalink
Add Why (It is for the plugins have other command name that not corre…
Browse files Browse the repository at this point in the history
…spond with the plugin name)
  • Loading branch information
TonimatasDEV committed Sep 10, 2024
1 parent d7f79cf commit a1b3c73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/dev/tonimatas/perworldplugins/util/Why.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package dev.tonimatas.perworldplugins.util;

import java.util.Locale;

public class Why {
public static String whyPlugin(String value) {
if (value.equals("ServersNPC")) {
value = "znpcs";
}

return value.toLowerCase(Locale.ENGLISH);
}
}

0 comments on commit a1b3c73

Please sign in to comment.