1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 04:21:31 +02:00

Ignore extra spaces in kit config.

This commit is contained in:
KHobbits
2013-05-26 23:53:39 +01:00
parent 7a8ad7d3b4
commit f94fec0fcb

View File

@@ -167,7 +167,7 @@ public class Kit
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 MetaItemStack metaStack = new MetaItemStack(parseStack);