mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-22 16:48:25 +01:00
Bump version to 2.7.5-SNAPSHOT
This commit is contained in:
parent
26a755fbb3
commit
42b167bdef
@ -9,7 +9,7 @@ loader_version=0.14.19
|
|||||||
fabric_api_version=0.76.0+1.19.4
|
fabric_api_version=0.76.0+1.19.4
|
||||||
|
|
||||||
# viafabricplus
|
# viafabricplus
|
||||||
mod_version=2.7.4-SNAPSHOT
|
mod_version=2.7.5-SNAPSHOT
|
||||||
maven_group=de.florianmichael
|
maven_group=de.florianmichael
|
||||||
archives_base_name=viafabricplus
|
archives_base_name=viafabricplus
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ public abstract class MixinPlayerEntity extends LivingEntity {
|
|||||||
|
|
||||||
@Redirect(method = "dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/player/PlayerEntity;swingHand(Lnet/minecraft/util/Hand;)V"))
|
@Redirect(method = "dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/player/PlayerEntity;swingHand(Lnet/minecraft/util/Hand;)V"))
|
||||||
public void dontSwingHand(PlayerEntity instance, Hand hand) {
|
public void dontSwingHand(PlayerEntity instance, Hand hand) {
|
||||||
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(VersionEnum.r1_14_4)) return;
|
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(VersionEnum.r1_15_2)) return;
|
||||||
|
|
||||||
instance.swingHand(hand);
|
instance.swingHand(hand);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user