mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01:00
Lowercase the provided ID in FlatItemDb#get
This commit is contained in:
parent
cbcfad5b2e
commit
28559dda3a
@ -98,7 +98,8 @@ public class FlatItemDb extends AbstractItemDb {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(final String id) throws Exception {
|
||||
public ItemStack get(String id) throws Exception {
|
||||
id = id.toLowerCase();
|
||||
final String[] split = id.split(":");
|
||||
|
||||
ItemData data = getByName(split[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user