Comments (3)
I'll look into the error now.
Regarding your performance question:
That should be fine as if you don't use the old reference to the inventory after it's closed (i.e. if it's not saved anywhere in a list/map or something), it should be automatically removed from memory by Java's Garbage Collection.
I don't necessarily think it's worth keeping an instance in a map for every player unless it's one inventory per player and they're going to be accessing the inventory a lot because that will prevent the inventories from being collected by GC so you'd be forcing them to stay in memory.
from spigui.
I can't seem to reproduce the issue could you share the following:
- how many pages your GUI has
- your server version (e.g. Bukkit/Spigot version, Minecraft version)
- if possible, some code that produces the error
from spigui.
Closing as this should have been partially resolved by a previous and completely resolved by the latest commit (at time of writing).
from spigui.
Related Issues (20)
- No items in close event HOT 7
- Add ChatComponent support HOT 5
- Remove Page Buttons HOT 2
- Plugin does not check if the clicked inventory is the actual GUI HOT 4
- [QUESTION TO USERS] What Minecraft versions are this library being used with? HOT 6
- Block unrealistic interactions to avoid getting items from gui HOT 6
- Customizing Toolbar (Pagination) buttons HOT 2
- does this plugin have docs? HOT 3
- No way to remove the current page item HOT 2
- ClassNotFound error with Gradle HOT 7
- how do i get it to list player heads in a gui for every player on the server HOT 3
- Need a Support quickly HOT 1
- Please Write Docs! HOT 5
- Bug in Toolbar HOT 4
- InventoryClickEvent click types HOT 2
- Bottom inventory event
- Toolbar Button and Menu Slots
- Shift + click not firing Listener
- 1.21.1 Incompatibility
- Able to get buttons as items HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spigui.