diff --git a/TheButtonAutoFlair.jar b/TheButtonAutoFlair.jar index 590ed4c..c3b3267 100644 Binary files a/TheButtonAutoFlair.jar and b/TheButtonAutoFlair.jar differ diff --git a/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/PlayerListener.class b/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/PlayerListener.class index 636c73a..6119806 100644 Binary files a/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/PlayerListener.class and b/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/PlayerListener.class differ diff --git a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java index 5c1523c..059407b 100644 --- a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java +++ b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java @@ -362,7 +362,8 @@ public class PlayerListener implements Listener { // 2015.07.16. && (hat.getType().equals(Material.SKULL) || hat.getType() .equals(Material.SKULL_ITEM)) && ((SkullMeta) hat .getItemMeta()).getDisplayName().equals("§rWolf Head"))) - e.getPlayer().damage(1f, Bukkit.getPlayer(meta.getLore().get(0))); + e.getPlayer().damage(1f * item.getAmount(), + Bukkit.getPlayer(meta.getLore().get(0))); e.getItem().remove(); // System.out.println("G"); e.setCancelled(true);