1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 10:04:51 +02:00

No sending to all players, must specify target.

This commit is contained in:
Jeremy
2012-01-01 18:18:29 -06:00
parent a0bf25749d
commit 2d003de5c0

View File

@@ -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;