Creating guards from Villagers with jobs in creative makes them disapear
AlyaVie opened this issue ยท 2 comments
Version : 1.16.5
World : Single player
Optifine : yes
Modloader : Forge-36.2.23
Mod version : guardvillagers-1.16.5.1.2.6
Current behavior :
In creative, giving a sword to a villager with a job makes it disappear
Intended behavior :
In creative, villagers with a job makes should refuse the sword
Summary, give a sword to a villager:
Creative:
With job -> disappear
Without job -> becomes guard
Survival:
With job -> refuse the sword
Without job -> becomes guard
I am currently playing a modpack (VaultHunter), and tried adding the guardvillagers mod. To test if it is working, I went into creative. When I tried to create guards from newly spawned villagers, there was no problem. I then went to my villagers hall to check if there was no problem with already existing villagers. I tried to give an iron sword to a villager with a job, and it simply disapeared. I spawned a new villager, gave it a job, gave it a sword and it disapeared again.
I went to a previously existing (before installing this mod) villager without a job, the guard worked fine.
I then went into survival.
I could transform villagers without a job into guards, and villagers with jobs didn't accept the sword. It was intended behavior.
When dispearing, no particule are seen.
Logs when loading the world :
[14:55:08] [main/ERROR]: Pool element: Not a JSON object: null
[14:55:08] [main/INFO]: Injecting existing registry data into this CLIENT instance
[14:55:08] [main/WARN]: Registry minecraft:item: Object did not get ID it asked for. Name: guardvillagers:guard_spawn_egg Expected: 1646 Got: 11779
[14:55:08] [main/WARN]: Registry minecraft:item: Object did not get ID it asked for. Name: guardvillagers:iron_golem_spawn_egg Expected: 1647 Got: 11780
[14:55:08] [main/WARN]: Registry minecraft:item: Object did not get ID it asked for. Name: guardvillagers:snow_golem_spawn_egg Expected: 1648 Got: 11781
[14:55:08] [main/WARN]: Registry minecraft:item: Object did not get ID it asked for. Name: guardvillagers:illusioner_spawn_egg Expected: 1649 Got: 11782
[14:55:08] [main/WARN]: Registry minecraft:entity_type: Object did not get ID it asked for. Name: guardvillagers:guard Expected: 109 Got: 270
[14:55:21] [main/INFO]: Injecting data pack finder.
It is the only time when guard villagers is mentionned in my logs
Here is a video of giving a sword to a villager with a job in creative
Minecraft_.1.16.5.-.Singleplayer.-.Creative.mp4
.
Oh, the log was latest.log.
Here is a debug.log when I recreate the bug