From f7f0992946aad29ac4725893cba9ba60a0180a4d Mon Sep 17 00:00:00 2001 From: Atsuishio <842960157@qq.com> Date: Wed, 16 Jul 2025 00:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=AE=E5=BC=B9=E9=87=8D?= =?UTF-8?q?=E5=8A=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atsuishio/superbwarfare/entity/vehicle/Mk42Entity.java | 4 ++-- .../atsuishio/superbwarfare/entity/vehicle/Mle1934Entity.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mk42Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mk42Entity.java index dc31b0866..7558cdb93 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mk42Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mk42Entity.java @@ -95,7 +95,7 @@ public class Mk42Entity extends VehicleEntity implements GeoEntity, CannonEntity .explosionDamage(VehicleConfig.MK42_AP_EXPLOSION_DAMAGE.get()) .explosionRadius(VehicleConfig.MK42_AP_EXPLOSION_RADIUS.get().floatValue()) .durability(60) - .gravity(projectileGravity()) + .gravity(-projectileGravity()) .sound(ModSounds.CANNON_RELOAD.get()) .icon(Mod.loc("textures/screens/vehicle_weapon/ap_shell.png")), new CannonShellWeapon() @@ -105,7 +105,7 @@ public class Mk42Entity extends VehicleEntity implements GeoEntity, CannonEntity .durability(1) .fireProbability(0.18F) .fireTime(2) - .gravity(projectileGravity()) + .gravity(-projectileGravity()) .sound(ModSounds.CANNON_RELOAD.get()) .icon(Mod.loc("textures/screens/vehicle_weapon/he_shell.png")), } diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mle1934Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mle1934Entity.java index 683cdd89f..946bdf14e 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mle1934Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Mle1934Entity.java @@ -86,7 +86,7 @@ public class Mle1934Entity extends VehicleEntity implements GeoEntity, CannonEnt .explosionDamage(VehicleConfig.MLE1934_AP_EXPLOSION_DAMAGE.get()) .explosionRadius(VehicleConfig.MLE1934_AP_EXPLOSION_RADIUS.get().floatValue()) .durability(70) - .gravity(projectileGravity()) + .gravity(-projectileGravity()) .sound(ModSounds.CANNON_RELOAD.get()) .icon(Mod.loc("textures/screens/vehicle_weapon/ap_shell.png")), new CannonShellWeapon() @@ -96,7 +96,7 @@ public class Mle1934Entity extends VehicleEntity implements GeoEntity, CannonEnt .durability(1) .fireProbability(0.24F) .fireTime(5) - .gravity(projectileGravity()) + .gravity(-projectileGravity()) .sound(ModSounds.CANNON_RELOAD.get()) .icon(Mod.loc("textures/screens/vehicle_weapon/he_shell.png")), }