Removed /u check from the wrong place
This commit is contained in:
parent
ffec31f75a
commit
41618831dc
5 changed files with 2 additions and 6 deletions
Binary file not shown.
|
@ -44,12 +44,8 @@ public class Commands implements CommandExecutor {
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
return false;
|
return false;
|
||||||
MaybeOfflinePlayer p = MaybeOfflinePlayer.AllPlayers.get(player
|
MaybeOfflinePlayer p = MaybeOfflinePlayer.AllPlayers.get(player
|
||||||
.getUniqueId()); // 2015.08.08.
|
.getUniqueId());
|
||||||
if (p.FlairState.equals(FlairStates.NoComment)) {
|
switch (args[0].toLowerCase())
|
||||||
player.sendMessage("§cError: You need to write your username to the reddit thread at /r/TheButtonMinecraft§r");
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
switch (args[0].toLowerCase()) // toLowerCase: 2015.08.09.
|
|
||||||
{
|
{
|
||||||
case "accept": {
|
case "accept": {
|
||||||
if (args.length < 2 && p.UserNames.size() > 1) {
|
if (args.length < 2 && p.UserNames.size() > 1) {
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue