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

Star steel buff only works when at full armor durability #450

Open
DwarvenSteel25 opened this issue Jun 25, 2019 · 10 comments
Open

Star steel buff only works when at full armor durability #450

DwarvenSteel25 opened this issue Jun 25, 2019 · 10 comments
Assignees
Labels

Comments

@DwarvenSteel25
Copy link

I'm not sure if this is a bug or an intended feature but the star steel armor buff of the speed and jump buff, only works when at full armor durability. If it is intended seems harsh to me given that, this means even 1 damage makes the effect stop working.

This is in the 1.12 update using what is (at the time of posting) the latest release.

@YaibaToKen
Copy link
Collaborator

Not to sound anal but you should try, if possible, to post the specific versions of each mod used :)
Also indicate the forge version and if applicable, what mod-pack and version this happens in. That's pretty much standard practice and will save everyone a lot of time 99% of the time.
As for the armor effect, quite likely a bug on our side, I don't think even our team has that much of a sadist xD

@dshadowwolf
Copy link
Collaborator

it is most likely this code:

private static boolean playerHasArmorItem(ItemStack piece, EntityPlayer player) {
return ((player.getItemStackFromSlot(EntityEquipmentSlot.HEAD) == piece)
|| (player.getItemStackFromSlot(EntityEquipmentSlot.CHEST) == piece)
|| (player.getItemStackFromSlot(EntityEquipmentSlot.LEGS) == piece)
|| (player.getItemStackFromSlot(EntityEquipmentSlot.FEET) == piece));
}
that is failing... because its comparing itemstacks and not doing it in a manner that is blind to item stack damage. A fix will be in -rc3... which will come when RL stops interfering :)

@drakray
Copy link

drakray commented Jul 30, 2019

Cold Iron act like this too(and I suppose every armor)
Can't wait for RC3 then :D

@YaibaToKen YaibaToKen self-assigned this Nov 22, 2019
@Akitori
Copy link

Akitori commented Dec 13, 2019

Can confirm for adamantite as well. Full durability gets the effect, any damage and it poofs away!

@drakray
Copy link

drakray commented Jan 15, 2020

Any ETA on this? will it be fixed in 1.12.2? thanks :)

@dshadowwolf
Copy link
Collaborator

dshadowwolf commented Jan 15, 2020 via email

@dshadowwolf
Copy link
Collaborator

As hard as it is to say... Meeting requirements and expectations of paying clients is getting in the way of me working on my hobbies. Sorry.

@drakray
Copy link

drakray commented Jan 15, 2020

I feel you XD, just wanted to make sure everything was OK and not abandoned lol
RL always come first :)

@drakray
Copy link

drakray commented May 10, 2020

I just saw, right now (Basemetals-1.12-2.5.0-Rc2.332) if 3 pieces of armor are damaged, but 1 at full durability, the full armor effect is active

@dshadowwolf
Copy link
Collaborator

Hrm... I don't recall pushing the fix for this, perhaps Jas did it...

@jriwanek jriwanek added the bug label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants