Replace m._ by a method call m.send, Java 8 in comming ...

This commit is contained in:
Xephi
2015-05-26 13:03:45 +02:00
parent 5585db221f
commit 9ba90bfb97
20 changed files with 170 additions and 172 deletions
@@ -68,7 +68,7 @@ public class Messages extends CustomConfiguration {
this.save();
}
public void _(CommandSender sender, String msg) {
public void send(CommandSender sender, String msg) {
String loc = (String) this.get(msg);
if (loc == null) {
loc = "Error with Translation files; Please contact the admin for verify or update translation";
@@ -79,7 +79,7 @@ public class Messages extends CustomConfiguration {
}
}
public String[] _(String msg) {
public String[] send(String msg) {
int i = ((String) this.get(msg)).split("&n").length;
String[] loc = new String[i];
int a;