The-Fireplace-Minecraft-Mods / Overlord

A Minecraft mod that allows raising and commanding an army of skeletons
https://www.curseforge.com/minecraft/mc-mods/overlord
Mozilla Public License 2.0
17 stars 11 forks source link

Make skeletons recognize owner when switching between offline and online mode #206

Open sheriff1john6 opened 2 years ago

sheriff1john6 commented 2 years ago

My skeletons doesn't recognize me after I log in my world suddenly. Last few times was fine but that one time it doesn't allow me to interact with them. All soldiers were affected and they will attack upon touching them. Log out then log back into the world doesn't help. The only solution is to replace them.

Minecraft version 1.17.1 Fabric api 0.44.0 Fabric loader 0.12.11

The-Fireplace commented 2 years ago

This seems to be because you went from offline mode to online mode. Let me do some digging and see if there's any way to handle it from the Overlord side of things.

The-Fireplace commented 2 years ago

Note to self, found on a spigot thread: UUID.nameUUIDFromBytes( ( "OfflinePlayer:" + getName() ).getBytes( Charsets.UTF_8 ) )