This commit is contained in:
坏黑
2018-04-22 22:12:42 +08:00
parent c573617a01
commit b49a779859
126 changed files with 1896 additions and 705 deletions

View File

@@ -0,0 +1,25 @@
package com.ilummc.tlib.resources;
import org.bukkit.command.CommandSender;
public interface TLocaleSendable {
public static TLocaleSendable getEmpty(String path) {
return new TLocaleSendable() {
@Override
public void sendTo(CommandSender sender, String... args) {
sender.sendMessage("§4<" + path + "§4>");
}
@Override
public String asString(String... args) {
return "§4<" + path + "§4>";
}
};
}
void sendTo(CommandSender sender, String... args);
String asString(String... args);
}