mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 03:34:42 +02:00
commit
This commit is contained in:
@ -33,6 +33,8 @@ import org.bukkit.ChatColor;
|
||||
import com.intellectualcrafters.configuration.ConfigurationSection;
|
||||
import com.intellectualcrafters.configuration.file.YamlConfiguration;
|
||||
import com.intellectualcrafters.plot.PS;
|
||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
||||
import com.intellectualcrafters.plot.util.MainUtil;
|
||||
import com.intellectualcrafters.plot.util.StringMan;
|
||||
|
||||
/**
|
||||
@ -689,4 +691,13 @@ public enum C {
|
||||
public String getCat() {
|
||||
return cat;
|
||||
}
|
||||
|
||||
public void send(PlotPlayer plr, String... args) {
|
||||
if (plr == null) {
|
||||
MainUtil.sendConsoleMessage(this, args);
|
||||
}
|
||||
else {
|
||||
MainUtil.sendMessage(plr, this, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user