ConfusedAlex / GoldEconomy

A simple gold based Economy plugin that just works
GNU General Public License v3.0
5 stars 10 forks source link

Error Logs when running basic commands #31

Closed Zatiejo closed 3 months ago

Zatiejo commented 3 months ago

DISCLAIMER: I am running this plugin on 1.21 paper, so feel free to take this bug submit with a grain of salt as just an update issue.

  1. There are few janky responses from the plugin when doing commands such as '/bank deposit (amount)' and '/bank withdraw (amount)'
  1. The Plugin itself is almost usable, and doesn't start up with any error logs. It's just the previous two errors. Paying other players in gold works fine. Bank balance works just fine. thegoldeconomy` However, just in case you need it, here is also a list of plugins I use for my server: thegoldeconomy5

If you need any more info I'll have to see what I can do. For now, this was all I was able to find and report.

ConfusedAlex commented 3 months ago

Turns out, papermc handles some things a little bit differently than spigotmc. While in spigot creating an item with a negative amount, which was done in the plugin, will work, papermc threw an error telling us we can't create items with a negative amount. I just added some if statements and it's fixed now. Just download 1.6.2, preferably from modrinth

@Zatiejo