mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
coloring
This commit is contained in:
1 parent
2a733fe867
commit
3e2cec6809
3 files changed
+144
-141
No files matched your search
@@ -388,7 +388,7 @@ public class RaidCommands implements CommandExecutor {
|
||||
p.sendMessage(String.valueOf(Helper.Chatlabel()) + "You are not in this war! Type /war join [war] [side]");
|
||||
}
|
||||
|
||||
if (!raid.getOwner().getName().equals(p.getName())) {
|
||||
if (raid.getOwner().getName().equals(p.getName())) {
|
||||
//check if gather phase
|
||||
if (raid.getPhase() == RaidPhase.GATHER || raid.getPhase() == RaidPhase.START || raid.getPhase() == RaidPhase.TRAVEL || raid.getPhase() == RaidPhase.COMBAT) {
|
||||
if (raid.getGatherTown().hasTownBlock(WorldCoord.parseWorldCoord(p))) {
|
||||
@@ -445,7 +445,7 @@ public class RaidCommands implements CommandExecutor {
|
||||
private static void fail(Player p, String[] args, String type) {
|
||||
switch (type) {
|
||||
case "permissions": {
|
||||
p.sendMessage(String.valueOf(Helper.Chatlabel()) + Helper.color("&cYou do not have permission to do this"));
|
||||
p.sendMessage(String.valueOf(Helper.Chatlabel()) + "&cYou do not have permission to do this");
|
||||
return;
|
||||
}
|
||||
case "syntax": {
|
||||
|
||||
Reference in new issue
Block a user