You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mods should either hold weak references to the return value, or listen for a WorldEvent.Unload and kill all references to prevent worlds staying in memory.
However, FakePlayer.getMinecraft() caches the value of the result and stores it in MINECRAFT_PLAYER, but then never unloads it upon world unload. The easiest solution is to do just that.
The text was updated successfully, but these errors were encountered:
FakePlayer.get()
states:However,
FakePlayer.getMinecraft()
caches the value of the result and stores it inMINECRAFT_PLAYER
, but then never unloads it upon world unload. The easiest solution is to do just that.The text was updated successfully, but these errors were encountered: