Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Eternal Armor #828

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Precision-Smelter
Copy link

Wow, I am on a roll today. Adding a single line to ‘EntityDamageHandler.java’ fixes a years old TFC “feature”: the eternal armor, which can never be destroyed by regular mob damage (damage other than explosions, fire & cacti).

Here is the magic line:
143: if (armor[location].stackSize <= 0) armor[location] = null;

Fixed multiple metalworking glitches.
Wow, I am on a roll today. Adding a single line to ‘EntityDamageHandler.java’ fixes a years old TFC “feature”: the eternal armor, which can never be destroyed by regular mob damage (damage other than explosions, fire & cacti).

Here is the magic line:
143:	if (armor[location].stackSize <= 0)  armor[location] = null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant