mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
1000 lines of code
This commit is contained in:
parent
691ff5c1d5
commit
d8ab0e7ecf
@ -2,4 +2,5 @@
|
||||
* Blast doors will now pulverize any block that gets in their way during closing
|
||||
|
||||
## Fixed
|
||||
* Fixed the CCGT's steam output breaking as soon as the steam buffer runs full
|
||||
* Fixed the CCGT's steam output breaking as soon as the steam buffer runs full
|
||||
* Fixed crash caused by mobs holding belt-fed guns
|
||||
@ -58,6 +58,7 @@ public class MagazineBelt implements IMagazine<BulletConfig> {
|
||||
|
||||
@Override
|
||||
public int getAmount(ItemStack stack, IInventory inventory) {
|
||||
if(inventory == null) return 1; // for EntityAIFireGun
|
||||
BulletConfig first = this.getFirstConfig(stack, inventory);
|
||||
int count = 0;
|
||||
for(int i = 0; i < inventory.getSizeInventory(); i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user