MaxStackSize and dropBulletCasing(false) doesn't work.
eslairdjv opened this issue · 4 comments
Max Stack Size doesn't work. And dropBulletCasing(false) in guns folder doesn't work.
But dropBulletCasing(false) in mod_config.json worked.
If you check the code you'll find that, for ammo item they set the MaxStackSize to 4.
And that overwrite your config.
コードを確認すると、弾薬アイテムの MaxStackSize が 4 に設定されていることがわかります。これにより、構成 が上書きされます。
How to rewrite that code
com.modularwarfare.common.guns.ItemAmmo
in the constructor public ItemAmmo(AmmoType type)
, you can see this.setMaxStackSize(4);
just delete it or rewrite it into this.setMaxStackSize(type.maxStackSize);
I don't know why the author doesn't fix it even now(beta 2.0). Maybe it's a feature or they just forget it?