Bugfixes and awesome probably complete money commands.

This commit is contained in:
Olof Larsson
2011-10-13 16:07:07 +02:00
parent 0888e027ad
commit 98260c75de
16 changed files with 221 additions and 161 deletions

View File

@@ -74,7 +74,7 @@ public class FPlayers extends PlayerEntityCollection<FPlayer>
{
for (FPlayer fplayer : this.get())
{
if (fplayer.getId().equalsIgnoreCase(playername) || fplayer.getId().startsWith(playername))
if (fplayer.getId().equalsIgnoreCase(playername) || fplayer.getId().toLowerCase().startsWith(playername.toLowerCase()))
{
return fplayer;
}