You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Brittle Modifier (TCon Compat) causes server crash when on 1 durability #485
changed the title [-]Brittle Modifier (TCon Compat) causes server crash with veinminer or on 1 durability[/-][+]Brittle Modifier (TCon Compat) causes server crash when on 1 durability[/+]on Dec 29, 2025
Activity
[-]Brittle Modifier (TCon Compat) causes server crash with veinminer or on 1 durability[/-][+]Brittle Modifier (TCon Compat) causes server crash when on 1 durability[/+]SkyBlade1978 commentedon Sep 29, 2026
@dshadowwolf I suggest this needs a fix in MMDLib, maybe sonething like
final int durability = ToolHelper.getCurrentDurability(tool);
if (durability <= 1) {
return;
}
final int damageDone = random.nextInt(Math.min(5, durability - 1));
ToolHelper.damageTool(tool, damageDone, event.getPlayer());
In TraitBrittle