#[SOLVED] DeluxeMenus not closing causing dupe glitch

1 messages · Page 1 of 1 (latest)

north sun
#

When using the closeInventory(); method while a user has a DeluxeMenu open it does not seem to work if the user has previously logged out.

I have attempted many different solutions but none seem to work. The only factor that remains the same is a user must log out beforehand.

This is the relevant code related to the problem: https://paste.helpch.at/gowudenuha.java

As soon as it gets to the runAnimation method even if I put in a check to force close any open inventories it does not work.

One confusing factor is how using getInventory().getTitle(); changes it's return on the DeluxeMenu depending if the user has logged out or not.

If the user has logged out it will report the title as Crafting instead of the configured title in the yaml file.

#

DeluxeMenus not closing causing dupe glitch

north sun
#

This works on both the latest dev build and the latest version on SpigotMC.

Tested with 1.20.1 & 1.20.2

void dust
#

bump after 1.3~ years, I tried force closing any DeluxeMenus GUI by running dm execute %Playername% [close] and that didnt work either

heady matrix
#

Leaving a message here to remind myself to take a look at this issue

vapid crag
void dust
#

And in the console it acknowledged the closing of the gui

void dust
heady matrix
#

Anyways, I have fixed the issue and sent the fix over to Save

#

TLDR Bukkit's funky OfflinePlayer behaviour

void dust
#

Fascinating I'll check your code out once he publishes it to gh

heady matrix
void dust
#

I'll go over it, ty

heady matrix
#

I'll triple check the issue and will report it to Paper since it might need to be fixed on their side as well

void dust
#

ill experiment

#

Although I think I've tried this already

north sun