mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 14:38:56 +00:00
Merge remote-tracking branch 'origin/feature/battering-ram' into feature/battering-ram
This commit is contained in:
commit
c2b5629df5
9 files changed
+20
-31
No files matched your search
@@ -1,7 +1,6 @@
|
||||
package me.ShermansWorld.AlathraWar.commands;
|
||||
|
||||
import com.palmergames.bukkit.towny.utils.NameUtil;
|
||||
import me.ShermansWorld.AlathraWar.items.WarItems;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.TabCompleter;
|
||||
|
||||
@@ -84,6 +84,11 @@ public class RaidCommands implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
if (raidOwner == null) {
|
||||
p.sendMessage("Raid Owner is Null");
|
||||
return;
|
||||
}
|
||||
|
||||
TownyWorld townyWorld;
|
||||
townyWorld = WorldCoord.parseWorldCoord(raidOwner.getLocation()).getTownyWorld();
|
||||
|
||||
|
||||
@@ -76,6 +76,11 @@ public class SiegeCommands implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
if (siegeOwner == null) {
|
||||
sender.sendMessage("Owner is Null");
|
||||
return;
|
||||
}
|
||||
|
||||
if (args.length < 3) {
|
||||
sender.sendMessage(Helper.chatLabel() + "/war siege [war] [town]");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user