From 97616703b073da85b3e8d8e058af815c5844ad9c Mon Sep 17 00:00:00 2001 From: "Nicholas \"LB\" Braden" Date: Mon, 8 Sep 2014 22:32:58 -0500 Subject: [PATCH] Fix adding wrong kind of tag to drop chances --- src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java b/src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java index 19ad8f3..4ad2d6b 100644 --- a/src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java +++ b/src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java @@ -851,11 +851,11 @@ public void Leash(Leash l) { equip.set(e.getKey().ID(), e.getValue().ToNBT(null)); } - drops.add(new Tag.Compound(null), - new Tag.Compound(null), - new Tag.Compound(null), - new Tag.Compound(null), - new Tag.Compound(null)); + drops.add(new Tag.Float(null, 0.0f), + new Tag.Float(null, 0.0f), + new Tag.Float(null, 0.0f), + new Tag.Float(null, 0.0f), + new Tag.Float(null, 0.0f)); for(Map.Entry e : dropchances.entrySet()) { drops.set(e.getKey().ID(), new Tag.Float(null, e.getValue()));