- amount bugfix, bad damn typo xD
This commit is contained in:
Jascha Starke 2012-02-26 21:24:49 +01:00
parent a5a777a5cd
commit 349d328a11
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
name: LimitedCreative
main: de.jaschastarke.minecraft.limitedcreative.Core
version: 0.9.6-beta
version: 0.9.7-beta
softdepend: [WorldGuard, WorldEdit, MultiInv]
dev-url: http://dev.bukkit.org/server-mods/limited-creative/
commands:

View file

@ -89,7 +89,7 @@ abstract public class InvConfStorage extends PlayerInventoryStorage {
ConfigurationSection sect = (ConfigurationSection) is;
Material type = Material.getMaterial(sect.getString("type"));
short damage = new Integer(sect.getInt("damage", 0)).shortValue();
int amount = sect.getInt("amaount", 1);
int amount = sect.getInt("amount", 1);
ItemStack result = new ItemStack(type, amount, damage);
if (sect.contains("enchantments")) {