mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-09-28 04:27:25 +02:00
Always reference newest version in injection names
This commit is contained in:
parent
b966022f74
commit
4f1f044837
@ -41,7 +41,7 @@ import java.util.concurrent.CompletableFuture;
|
||||
* - Particle handling has slightly changed
|
||||
*
|
||||
* TODO | Port 1.21
|
||||
* - LocalPlayer#aiStep nether portal logic and sneaking attribute
|
||||
* - LocalPlayer#aiStep nether portal logic
|
||||
* - Camera logic got changed again
|
||||
* - ExtraCodecs#QUATERNIONF_COMPONENTS
|
||||
* - Armadilllo removedd shouldPanic
|
||||
|
@ -92,7 +92,7 @@ public abstract class MixinLivingEntity extends Entity {
|
||||
}
|
||||
|
||||
@Inject(method = "getVelocityMultiplier", at = @At("HEAD"), cancellable = true)
|
||||
private void getVelocityMultiplier1_20_5(CallbackInfoReturnable<Float> cir) {
|
||||
private void getVelocityMultiplier1_20_6(CallbackInfoReturnable<Float> cir) {
|
||||
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_20_5)) {
|
||||
cir.setReturnValue(this.isOnSoulSpeedBlock() && EnchantmentUtil.getEquipmentLevel(Enchantments.SOUL_SPEED, (LivingEntity) (Object) this) > 0 ? 1F : super.getVelocityMultiplier());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user