Skip to content

Commit e159cbf

Browse files
committed
Fix infinite loop in HumanEntity.giveItemDrop
1 parent 311751b commit e159cbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HumanEntity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ public void giveItemDrop(Item toDrop) {
488488
} else {
489489
// SRG player.func_71021_b(item.getBaseItem());
490490
player.b(item.getBaseItem());
491+
break;
491492
}
492493
}
493494
}

0 commit comments

Comments
 (0)