Fix wrong minimum attack damage
Minimum in vanilla is 0 for wooden swords, so it made our wooden sword just slightly better
@@ -107,7 +107,7 @@ public final class ToolStatsBuilder {
public float buildAttack() {
double averageHeadAttack = getAverageValue(heads, HeadMaterialStats::getAttack);
double averageHandle = getAverageValue(handles, HandleMaterialStats::getAttackDamage, 1.0f);
- return (float)Math.max(0.1d, averageHeadAttack * averageHandle);
+ return (float)Math.max(0.0d, averageHeadAttack * averageHandle);
}
/**
