mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-24 10:09:50 +01:00
Make the antioch message optional.
This commit is contained in:
parent
25ebe68389
commit
1bbbfe1c96
@ -17,8 +17,11 @@ public class Commandantioch extends EssentialsCommand
|
||||
@Override
|
||||
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,");
|
||||
ess.broadcastMessage(user, "who being naughty in My sight, shall snuff it.");
|
||||
if (args.length > 0)
|
||||
{
|
||||
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);
|
||||
loc.getWorld().spawn(loc, TNTPrimed.class);
|
||||
|
@ -13,7 +13,7 @@ commands:
|
||||
aliases: [eafk]
|
||||
antioch:
|
||||
description: 'A little surprise for operators.'
|
||||
usage: /<command>
|
||||
usage: /<command> [message]
|
||||
aliases: [eantioch]
|
||||
back:
|
||||
description: Teleports you to your location prior to tp/spawn/warp.
|
||||
|
Loading…
Reference in New Issue
Block a user