Suppress warnings from mixin

This commit is contained in:
DBotThePony 2023-01-13 23:37:16 +07:00
parent fe91b184a6
commit 37e0f152a7
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -16,7 +16,8 @@ public class MixinPatchProjectileFinder {
value = "INVOKE",
target = "net.minecraftforge.common.ForgeHooks.getProjectile(Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack;",
ordinal = 2,
shift = At.Shift.BEFORE
shift = At.Shift.BEFORE,
remap = false
),
cancellable = true)
private void exosuitGetProjectileHook(ItemStack weaponItem, CallbackInfoReturnable<ItemStack> hook) {