initial: server-side fix for Gunfire 0.1.6+ + SBW 0.8.9 ammo consume (me.sashegdev) - AT public-f AmmoConsumer.type

This commit is contained in:
SashegDev
2026-08-23 23:09:22 +03:00
commit 79e935ffa8
13 changed files with 233 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Gunfire-SBW Fix (Server)
Server-side fix for `Gunfire Overhaul 0.1.6-a` + `Superb Warfare 0.8.9` on Mohist/Forge 1.20.1.
- Fixes `IllegalAccessError: AmmoConsumer.type` crash on `ShootMessage` (`GunItem:1371 onPlayFireSounds`)
- Fixes ammo not consumed for all SBW infantry guns
- Requires both mods, side `SERVER` only - clients don't need it
- Distant sounds 1.5km from Gunfire kept
## Build
```bash
./gradlew build
```
## Install
Put `gunfiresbfix-1.0.0.jar` in `mods/` on server (needs `superbwarfare` and `gunfireoverhaul`).
## License
MIT - patch, original mods: SBW GPLv3, Gunfire All Rights Reserved