-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin works in 1.8 but not in 1.18 #75
Comments
I'll need a bit more information than that. Some code if possible. |
literally the documentation code gui = Gui.gui()
.title(Component.text(Objects.requireNonNull(getConfig().getString("Inventory.name"))))
.rows(1)
.create();
// yes i know setName is deprecated
GuiItem basic = ItemBuilder.from(Material.BOOK).setName("name").asGuiItem(event -> {
Player player = (Player) event.getWhoClicked();
});
gui.disableAllInteractions();
gui.setItem(2, basic); In both versions the inventory opens, but in 1.18 events don't work and items can be stolen |
Can you try without any other plugins? I use the lib on 1.18 and works just fine |
Also, one more thing, what version is the server? 1.8 or 1.18? Because it sounds like the issue is connecting from 1.18 on a 1.8 server? Is that correct? |
The server is in 1.18, we use viaversion, the strange thing is that a user who joins in 1.8 works well with the inventory and a user who joins in 1.18 does not work well, the plugin is made with spigot 1.18 |
You mean you use ViaBackwards AND ViaVersion. |
I'll test it. |
Thanks |
On a server with ViaVersion, in 1.8 the plugin works correctly, but in 1.18 it does not work, idk if it's a bug or I'm doing something wrong
Specifically, in 1.8 when clicking the events work, it does not allow objects to be moved.
In 1.18 clicking does not work the events and lets steal objects
Thanks in advance
The text was updated successfully, but these errors were encountered: