DNAmaster10 / TraincartsTicketShop

A Spigot plugin which extends the functionality of the Traincarts Plugin by introducing player-made ticket shops into the game
1 stars 1 forks source link

Change edit gui to temporarily store gui in a hashmap before inserting into database #20

Closed DNAmaster10 closed 8 months ago

DNAmaster10 commented 8 months ago

Currently, tickets and linkers are directly inserted into the database each time the user goes to a new page.

Instead, this should be changed so that the items are temporarily stored into a hashmap, which is then inserted directly into the database only when the gui is closed.

This will improve performance.

DNAmaster10 commented 8 months ago

Done for all page guis