Pixelmon Sidemod API - Bug tracker

[2.1.3] GTS returns 'null' after use of /gts add not a bug

Ticket description:
If I type /gts before using /gts add, it brings up the GUI successfully. But if I try to add a pokemon to the gts by using /gts add (for example, /gts add 1 1) in chat it returns "Error occured while executing command: null" and then prints an error in console. It does not take the pokemon from my party.

If I then try to use /gts AFTER trying to do /gts add it will also return null and print an (different) error in console, despite working before trying to use /gts add.

If I then do /gts clear, it says it cleared 1 pokemon from GTS, even though it did not take my pokemon, and /gts will work again. Whole process happens again if I try to add a pokemon to GTS.


Mods Installed:
- Pixelmon [5.1.1]
- SpongeForge [10.0.2-2281-5.2.0-BETA-2366]
- AGP [0.5.0-beta]
- LuckPerms [3.2.20]
- MegasAreOverrated [1.3.3.7]
- Nucleus [0.29.5]
- PixelAnnouncer [1.0.2]
- PixelExtras [2.2.8]
- Tournaments [2.0.0]
- VoxelSniper [8.4.1]
- GriefPrevention [2.3.1.295]
- WorldEdit [6.5.1]


Pastebin of [/gts add] error: https://pastebin.com/sifx0wxT

Pastebin of /gts error AFTER /gts add is run: https://pastebin.com/Qt6Lhs5F

Comments

#16576 Posted by XRECKXIMPACT » 20 Jun 2017 00:41

According to the code, this is because you didn't have a proper economy registration enabled at the time. It's trying to fill in a variable which doesn't exist as no economy service was loaded.

So in total, this isn't really a bug, more just a missed aspect on your part.

Ticket details

  • Ticket ID: 12349
  • Project: Pixelmon Sidemod API
  • Status: Not a bug
  • Component: Global Trade Station
  • Project version: 5.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: 10.0.2-2281-5.2.0-BETA-2366
  • What else would be useful to know?: (unknown)
  • Assigned to: XRECKXIMPACT
  • Reported by: CJcool06 (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 20 Jun 2017 00:07
  • Ticket last visited by: Waterdude on 28 Jun 2017 14:24
JOIN THE TEAM