Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Fix adding wrong kind of tag to drop chances
Browse files Browse the repository at this point in the history
  • Loading branch information
LB-- committed Sep 9, 2014
1 parent 1caab9a commit 9761670
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/com/lb_stuff/mcmodify/minecraft/Mob.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<EquipmentSlot, Float> e : dropchances.entrySet())
{
drops.set(e.getKey().ID(), new Tag.Float(null, e.getValue()));
Expand Down

0 comments on commit 9761670

Please sign in to comment.