mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-24 09:01:56 +01:00
Merge pull request #42 from jjkoletar/patch-1
No sending to all players, must specify target.
This commit is contained in:
commit
9a568992f1
@ -22,6 +22,11 @@ public class Commandpay extends EssentialsCommand
|
||||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
|
||||
if (args[0] == "")
|
||||
{
|
||||
throw new NotEnoughArgumentsException("You need to specify a player to pay.");
|
||||
}
|
||||
|
||||
double amount = Double.parseDouble(args[1].replaceAll("[^0-9\\.]", ""));
|
||||
|
||||
Boolean foundUser = false;
|
||||
|
Loading…
Reference in New Issue
Block a user