Small refactor, add in support for the nanochestplate for thaumic boots #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rename
runBonus
tospeedBonus
as that is more accurate since it affects creative flight speed.Add in a check for the advanced Nanochestplate from GraviSuite so that it is supported, too.
It checks if the chest armor of the player is that specific part and if its in fly and hover mode.
Reason for that:
EMT Boots do work with the advanced Nanochestplate. Since f.ex. the Voidwalker boots are a direct upgrade from the EMT Boots it feels wrong for them to lose that ability in the process. Now Thaumic Boots behave the same as the EMT Boots in that regard.
This also fixes inertia cancelling with these boots.
Fixes GTNewHorizons/GT-New-Horizons-Modpack#17831