fix: stopped booster from triggering while riding
@@ -23,7 +23,7 @@ public class TickHandlerBooster {
public void tickItem(PlayerEntity player, ItemStack stack, int level) {
CompoundNBT tag = NBTHelper.getTag(stack);
boolean charged = tag.getBoolean(UtilBooster.chargedKey);
- if (!player.isInWater() && UtilBooster.isActive(tag) && UtilBooster.hasFuel(tag, charged)) {
+ if (!player.isInWater() && player.getRidingEntity() == null && UtilBooster.isActive(tag) && UtilBooster.hasFuel(tag, charged)) {
if (charged) {
UtilBooster.boostPlayerCharged(player, tag, level);
} else {
