mirror of
https://github.com/Ne0nx3r0/BetterAlias.git
synced 2025-01-24 22:01:18 +01:00
Bug fix with case sensitivity and player names
This commit is contained in:
parent
fa3c011576
commit
4245aa115e
@ -54,7 +54,7 @@ class BetterAliasPlayerListener implements Listener{
|
|||||||
}catch(Exception ex){return; }
|
}catch(Exception ex){return; }
|
||||||
|
|
||||||
if(iParam > -1 && cmd.length >= iParam){
|
if(iParam > -1 && cmd.length >= iParam){
|
||||||
String sPlayerName = cmd[iParam];
|
String sPlayerName = cmd[iParam].toLowerCase();
|
||||||
|
|
||||||
text = "notFound";
|
text = "notFound";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: BetterAlias
|
name: BetterAlias
|
||||||
main: com.gmail.Ne0nx3r0.BetterAlias
|
main: com.gmail.Ne0nx3r0.BetterAlias
|
||||||
version: '0.2'
|
version: '0.2.1'
|
||||||
database: false
|
database: false
|
||||||
description: Command alias system
|
description: Command alias system
|
Loading…
Reference in New Issue
Block a user