Cleanup modcompat code, initial build setup for JEI support.
This commit is contained in:
parent
497c0134a6
commit
abcac85d0e
30 changed files with 91 additions and 208 deletions
|
@ -97,7 +97,7 @@ public class QuantumSuitItem extends TRArmourItem implements ArmorBlockEntityTic
|
|||
break;
|
||||
case CHEST:
|
||||
if (enableFlight){
|
||||
if (getStoredEnergy(stack) > flyCost && !TechReborn.elytraPredicate.test(playerEntity)) {
|
||||
if (getStoredEnergy(stack) > flyCost) {
|
||||
playerEntity.getAbilities().allowFlying = true;
|
||||
if (playerEntity.getAbilities().flying) {
|
||||
tryUseEnergy(stack, flyCost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue