mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-11-05 19:41:56 +00:00
Make the antioch message optional.
This commit is contained in:
parent
8450734cf1
commit
eb74a1de9c
2 changed files with 6 additions and 3 deletions
|
@ -17,8 +17,11 @@ public class Commandantioch extends EssentialsCommand
|
||||||
@Override
|
@Override
|
||||||
public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
||||||
{
|
{
|
||||||
ess.broadcastMessage(user, "...lobbest thou thy Holy Hand Grenade of Antioch towards thy foe,");
|
if (args.length > 0)
|
||||||
ess.broadcastMessage(user, "who being naughty in My sight, shall snuff it.");
|
{
|
||||||
|
ess.broadcastMessage(user, "...lobbest thou thy Holy Hand Grenade of Antioch towards thy foe,");
|
||||||
|
ess.broadcastMessage(user, "who being naughty in My sight, shall snuff it.");
|
||||||
|
}
|
||||||
|
|
||||||
final Location loc = Util.getTarget(user);
|
final Location loc = Util.getTarget(user);
|
||||||
loc.getWorld().spawn(loc, TNTPrimed.class);
|
loc.getWorld().spawn(loc, TNTPrimed.class);
|
||||||
|
|
|
@ -13,7 +13,7 @@ commands:
|
||||||
aliases: [eafk]
|
aliases: [eafk]
|
||||||
antioch:
|
antioch:
|
||||||
description: 'A little surprise for operators.'
|
description: 'A little surprise for operators.'
|
||||||
usage: /<command>
|
usage: /<command> [message]
|
||||||
aliases: [eantioch]
|
aliases: [eantioch]
|
||||||
back:
|
back:
|
||||||
description: Teleports you to your location prior to tp/spawn/warp.
|
description: Teleports you to your location prior to tp/spawn/warp.
|
||||||
|
|
Loading…
Reference in a new issue