diff --git a/gradle.properties b/gradle.properties index d638370c2..04b4406a4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ mod_id=superbwarfare mod_name=Superb Warfare mod_license=GNU General Public License v3.0 mod_description=A Warfare Mod -mod_version=0.6.2 +mod_version=0.6.3 mod_authors=Atsuishio, Roki27, Light_Quanta # dependencies diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/SpeedboatEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/SpeedboatEntity.java index 5a92fbe98..1098e9ff9 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/SpeedboatEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/SpeedboatEntity.java @@ -148,6 +148,10 @@ public class SpeedboatEntity extends ContainerMobileVehicleEntity implements Geo sendParticle(serverLevel, ParticleTypes.BUBBLE_COLUMN_UP, this.getX() - 4.5 * this.getLookAngle().x, this.getY() - 0.25, this.getZ() - 4.5 * this.getLookAngle().z, (int) (40 * Mth.abs(this.entityData.get(POWER))), 0.15, 0.15, 0.15, 0.02, true); } + if (this.level() instanceof ServerLevel) { + this.handleAmmo(); + } + turretAngle(40, 40); lowHealthWarning(); collideBlock();