mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 19:15:44 +00:00
Ignore extra spaces in kit config.
This commit is contained in:
parent
1a4c2e8484
commit
7fe83dbd91
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class Kit
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final String[] parts = kitItem.split(" ");
|
final String[] parts = kitItem.split(" +");
|
||||||
final ItemStack parseStack = ess.getItemDb().get(parts[0], parts.length > 1 ? Integer.parseInt(parts[1]) : 1);
|
final ItemStack parseStack = ess.getItemDb().get(parts[0], parts.length > 1 ? Integer.parseInt(parts[1]) : 1);
|
||||||
final MetaItemStack metaStack = new MetaItemStack(parseStack);
|
final MetaItemStack metaStack = new MetaItemStack(parseStack);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue