initial: server-side fix for Gunfire 0.1.6-a + SBW 0.8.9 ammo consume

This commit is contained in:
Zern
2026-08-23 21:43:15 +03:00
commit 206aeebb5c
12 changed files with 213 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