mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-29 14:16:04 +01:00
Fixed config being case-sensitive.
This commit is contained in:
parent
8880283b10
commit
245cf816c8
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
name: boosCooldowns
|
||||
main: cz.boosik.boosCooldown.BoosCoolDown
|
||||
version: 3.6.5
|
||||
version: 3.6.6
|
||||
authors: [LordBoos (ingame name boosik)]
|
||||
softdepend: [Vault]
|
||||
description: >
|
||||
|
@ -106,7 +106,7 @@ public class BoosCoolDownListener implements Listener {
|
||||
}
|
||||
Player player = event.getPlayer();
|
||||
String originalCommand = event.getMessage().replace("\\", "\\\\");
|
||||
originalCommand.trim().replaceAll(" +", " ").toLowerCase();
|
||||
originalCommand = originalCommand.trim().replaceAll(" +", " ").toLowerCase();
|
||||
String regexCommad = "";
|
||||
Set<String> aliases = BoosConfigManager.getAliases();
|
||||
Set<String> commands = BoosConfigManager.getCommands(player);
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: boosCooldowns
|
||||
main: cz.boosik.boosCooldown.BoosCoolDown
|
||||
version: 3.6.5
|
||||
version: 3.6.6
|
||||
authors: [LordBoos (ingame name boosik)]
|
||||
softdepend: [Vault]
|
||||
description: >
|
||||
|
Loading…
Reference in New Issue
Block a user