Fixing warnings

This commit is contained in:
Isaac committed 2023-05-02 11:05:25 +01:00
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;