Drkmaster83
Member, Male, from Rockwall, Texas
Building a plugin on BukkitDev... Long Live Bukkit! :D Sep 6, 2012
- Drkmaster83 was last seen:
- Oct 9, 2019
- Loading...
- Loading...
-
About
I am in High School and work as a Student/Seasonal Recreational Referee for soccer (or for you Europeans, "football").Interact
- Twitter:
- Drkmaster95
Signature
For all who are worried about people stealing your code, worry not! Everyone on Bukkit should recognize Intellectual Property.Saving a Player's instance can cause memory leaks if not removed properly. The problem with memory leaks is that they prevent Java's garbage collection from releasing valuable RAM. You can prevent these memory leaks by making sure you remove the Player's instance from the list/map/set after you're done using it. The Player's various NBT and data entries are saved alongside the Player's instance and kept, even if Minecraft attempts to save it and unload it to release RAM. Saving the Player's instance can also keep their portion of the world loaded (with all their chunks, entities, et cetera).