mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 06:57:39 +01:00
Fix minecraft namespace not working in give command (#4960)
This commit is contained in:
parent
ff80338350
commit
9c5536b2e6
@ -115,7 +115,7 @@ public class FlatItemDb extends AbstractItemDb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
id = id.toLowerCase();
|
id = id.toLowerCase();
|
||||||
final String[] split = id.split(":");
|
final String[] split = id.split("(?<!^minecraft):");
|
||||||
|
|
||||||
final ItemData data = getByName(split[0]);
|
final ItemData data = getByName(split[0]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user