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
The handler for PacketGiveRewards modifies Minecraft game objects (modifiying players and executing commands ) directly from a netty thread. Since none of the core Minecraft objects are thread-safe, this can easily lead to world corruption.
Instead, PacketGiveRewards should create a scheduled task (via MinecraftServer#addScheduledTask, and perform all of its actions from within that task.
The text was updated successfully, but these errors were encountered:
The handler for PacketGiveRewards modifies Minecraft game objects (modifiying players and executing commands ) directly from a netty thread. Since none of the core Minecraft objects are thread-safe, this can easily lead to world corruption.
Instead,
PacketGiveRewards
should create a scheduled task (viaMinecraftServer#addScheduledTask
, and perform all of its actions from within that task.The text was updated successfully, but these errors were encountered: