SvenKayser / JMOD

The Javascript MOD Loader
Other
9 stars 4 forks source link

Crash when repairing enchanted iron armor in anvil #29

Closed ghost closed 7 years ago

ghost commented 7 years ago

Apparently, the game crashes when the anvil is used to repair enchanted iron armor. While this is happening with a server/client game, the crash is happening client-side.

Crash Information

SvenKayser commented 7 years ago

Is that limited to iron armor items?

ghost commented 7 years ago

Well, it seems to be limited to armor, and the armor does not need to be enchanted. It is not limited to iron; apparently the same thing happens with leather. Tools seem to work without a problem.

ghost commented 7 years ago

Actually, it looks like the problem went away with enhancedAnvilRepair(false). And the anvil still applies endurance repair through material pieces. Maybe this might help?

SvenKayser commented 7 years ago

Fixed as of https://github.com/SvenKayser/JMOD/commit/df0008acd2549aee19aa2a4487896ce391063743