From 349d328a11f6330ed1e65caf81c6c3683807b1b7 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sun, 26 Feb 2012 21:24:49 +0100 Subject: [PATCH] v0.9.7: - amount bugfix, bad damn typo xD --- plugin.yml | 2 +- .../minecraft/limitedcreative/store/InvConfStorage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 7949e54..ef5694c 100644 --- a/plugin.yml +++ b/plugin.yml @@ -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: diff --git a/src/de/jaschastarke/minecraft/limitedcreative/store/InvConfStorage.java b/src/de/jaschastarke/minecraft/limitedcreative/store/InvConfStorage.java index fd0fc15..f81d49c 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/store/InvConfStorage.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/store/InvConfStorage.java @@ -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")) {