LunaChat v2.0.0 : issue #19 (wip...).
このコミットが含まれているのは:
1 親
e4d7ffc6fd
コミット
4b783210af
5ファイル変更
+171
-32
検索条件に一致するファイルはありません
@@ -14,11 +14,6 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import com.github.ucchyocean.lc.command.LunaChatCommand;
|
||||
import com.github.ucchyocean.lc.command.LunaChatMessageCommand;
|
||||
import com.github.ucchyocean.lc.command.LunaChatReplyCommand;
|
||||
|
||||
|
||||
import ru.tehkode.permissions.bukkit.PermissionsEx;
|
||||
|
||||
/**
|
||||
@@ -73,7 +68,7 @@ public class LunaChat extends JavaPlugin {
|
||||
* このプラグインのJarファイル自身を示すFileクラスを返す。
|
||||
* @return
|
||||
*/
|
||||
public static File getPluginJarFile() {
|
||||
protected static File getPluginJarFile() {
|
||||
return instance.getFile();
|
||||
}
|
||||
|
||||
@@ -81,7 +76,7 @@ public class LunaChat extends JavaPlugin {
|
||||
* ログにメッセージを出力する
|
||||
* @param message メッセージ
|
||||
*/
|
||||
public static void log(String message) {
|
||||
protected static void log(String message) {
|
||||
instance.getLogger().info(ChatColor.stripColor(message));
|
||||
}
|
||||
|
||||
@@ -90,7 +85,23 @@ public class LunaChat extends JavaPlugin {
|
||||
* @param name プレイヤー名
|
||||
* @return Player
|
||||
*/
|
||||
public static Player getPlayerExact(String name) {
|
||||
protected static Player getPlayerExact(String name) {
|
||||
return instance.getServer().getPlayerExact(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* LunaChatAPIを取得する
|
||||
* @return LunaChatAPI
|
||||
*/
|
||||
public LunaChatAPI getLunaChatAPI() {
|
||||
return manager;
|
||||
}
|
||||
|
||||
/**
|
||||
* LunaChatConfigを取得する
|
||||
* @return LunaChatConfig
|
||||
*/
|
||||
public LunaChatConfig getLunaChatConfig() {
|
||||
return config;
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする