[FIXED 1.6.6] Runes of Power Don't Appear In Chests
ccbrown opened this issue ยท 1 comments
In RavagedDungeonLoot.java, you specify that the common runes should have a damage of 0-4. E.g...
new LootItemStack(ItemList.rune).setDamage(0,4).setWeight(9),
But in LootItemStack.java....
public LootItemStack setDamage(int min, int max){
this.minDamage = (short)Math.max(1,min);
this.maxDamage = (short)Math.max(1,max);
return this;
}
setDamage
doesn't allow the damage to be less than 1.