Turtle FakePlayer reporting Default UUID instead of owning player
dimaguy opened this issue ยท 3 comments
Minecraft Version
1.21.x
Version
1.113.0
Details
I am unable to use a turtle's FakePlayer UUID for permission checks, because every time I place one, be it in any gamemode and online/offline mode, it reports itself as the Default UUID given to turtles (0d0c4ca0-4ff1-11e4-916c-0800200c9a66) to my spawn protection mixin for Flan.
debug.log
latest.log
Hm ... you should use yourself as a source of permission check, turtle should mimic a permission of player that placed them.
Hm ... you should use yourself as a source of permission check, turtle should mimic a permission of player that placed them.
that is what I'm doing, the turtle's actions should work under the placing player's uuid, therefore when I'm doing permission checks, it's the player uuid that counts, the turtle should not have a different one
Thanks for the report! Looks like the update to 1.20.5 (0140754) removed the code that sets the owner on place, should be an easy fix!