use of me.steven.carrier.api.CarrierComponent in project Carrier by GabrielOlvH.
the class MixinPlayerEntity method b.
@Inject(method = "checkFallFlying", at = @At("HEAD"), cancellable = true)
private void b(CallbackInfoReturnable<Boolean> cir) {
CarrierComponent carrier = Carrier.HOLDER.get(this);
CarryingData carrying = carrier.getCarryingData();
if (carrying != null) {
cir.setReturnValue(false);
}
}
Aggregations