SparklyPower / SparklyPaper

✨ "Ooooh, sparkly paper!" - SparklyPower's Paper fork, making large servers snappier with high-performance optimizations and improvements!
https://sparklypower.net/
121 stars 13 forks source link

log of respawning player #6

Closed rudde0 closed 11 months ago

rudde0 commented 11 months ago

[STDOUT] [net.minecraft.server.players.PlayerList] respawning player - current player container is net.minecraft.world.inventory.ContainerPlayer@42958eff but their inventory is net.minecraft.world.inventory.ContainerPlayer@42958eff

Is it normal? Because it's referencing same inventory but it says "but" in log. Like it was expected something else.

MrPowerGamerBR commented 11 months ago

It is normal, once again it is just debug logs I was using to figure out concurrency bugs, but I haven't removed them because it could be useful to track down other bugs

Player Container = the current player's open container (a chest, furnace, etc) Player Inventory = the instance of the player's inventory (the menu that shows up when you open your own inventory)

rudde0 commented 11 months ago

ok, thanks for the information