
import "./gunFire.js";
//import "./player.js";
//import "scripts/tick.js";

this.testItemLore(this.item.getLore().join())
       if (this.testItemLore(this.item.getLore().join())) {
         this.item.setLore([`ammo: ${parseInt(this.item.getLore()[0].match(/(?<=ammo: )[\w]*/)[0]) + 1}`])
     this.player.onScreenDisplay.setActionBar(`reloaded`)
       } else {
this.item.setLore(["ammo: 1"])
     this.player.onScreenDisplay.setActionBar(`reloaded`)
       } 