mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 14:38:56 +00:00
Fixing warnings
This commit is contained in:
1 parent
cab30a6eae
commit
e771416d10
7 files changed
+12
-5
No files matched your search
@@ -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