修改hasCreativeAmmo判定条件
This commit is contained in:
parent
61c8c3337c
commit
25f205a78d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class AmmoBarOverlay implements LayeredDraw.Layer {
|
|||
private static boolean hasCreativeAmmo() {
|
||||
Player player = Minecraft.getInstance().player;
|
||||
if (player == null) return false;
|
||||
return InventoryTool.hasCreativeAmmoBox(player);
|
||||
return player.isCreative() || InventoryTool.hasCreativeAmmoBox(player);
|
||||
}
|
||||
|
||||
private static int getGunAmmoCount(Player player) {
|
||||
|
|
Loading…
Add table
Reference in a new issue