mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Intellij says this is fine so if it breaks again gg
This commit is contained in:
parent
e45655edbb
commit
2dbbb5c262
@ -21,12 +21,12 @@ public class Command_smite extends FreedomCommand
|
|||||||
|
|
||||||
public static void smite(CommandSender sender, Player player)
|
public static void smite(CommandSender sender, Player player)
|
||||||
{
|
{
|
||||||
smite(sender, player, null, false);
|
smite(sender, player, null, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void smite(CommandSender sender, Player player, String reason)
|
public static void smite(CommandSender sender, Player player, String reason)
|
||||||
{
|
{
|
||||||
smite(sender, player, reason, false);
|
smite(sender, player, reason, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void smite(CommandSender sender, Player player, String reason, Boolean silent, Boolean clearinv)
|
public static void smite(CommandSender sender, Player player, String reason, Boolean silent, Boolean clearinv)
|
||||||
@ -106,19 +106,16 @@ public class Command_smite extends FreedomCommand
|
|||||||
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (args[args.length - 1].equalsIgnoreCase("-c"))
|
||||||
{
|
{
|
||||||
if (args[args.length - 1].equalsIgnoreCase("-c"))
|
if (args[args.length - 1].equalsIgnoreCase("-c"))
|
||||||
{
|
{
|
||||||
if (args[args.length - 1].equalsIgnoreCase("-c"))
|
clearinv = true;
|
||||||
{
|
}
|
||||||
clearinv = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (args.length >= 3)
|
if (args.length >= 3)
|
||||||
{
|
{
|
||||||
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user