Easy NPC

Easy NPC

2M Downloads

[Bug] NPC Day/Night Visibility

XXPryingXX opened this issue ยท 0 comments

commented

๐Ÿ’ก Check the
Bug Tracker
and Crash Tracker before
reporting a new issue.
There you can find a lot of useful information and solutions for common problems.

Note:
Please make sure to fill out the following template to the best of your ability. This will help us
to identify and fix the issue faster.

Minecraft and Mod version ๐Ÿž
The used Minecraft and Mod version.

1.20.4 Fabric

Describe the bug ๐Ÿž
A clear and concise description of what the bug is.

When setting an NPC to appear only during the day cycle of minecraft. The NPC will appear for the first day cycle, and dissapear when it is night. But will not reappear the next morning. This can be fixed if you use the /set time command to day but this also changes the day timer to 0. NPCs do not show up when day count is higher than 0. NPC's set to 'appear' only at night will not be visible during the first day cycle and will appear at night. But will not dissapear the following day if the day counter is higher than 0. again, using the set time command fixes the issue, but resets day counter to 0.

To Reproduce โš™๏ธ
Steps to reproduce the behavior:

Enter an NPC and go to attributes/ display
toggle visibility off to owner and off to either "visible at night" or "Visible at day"
Wait until it is either the next day or night or use the "ADD time" command to make it day/night
The day NPC will be permanently invisible and the night NPC will be permanently visible
use the "SET time" command and set to day or night and the proper NPC will appear you can set day counter to 0 to fix it and set day count to 1 to break the NPCs.

Expected behavior โœ”๏ธ

NPCs with an attribute to be visible during day/night should be visible only during day or night regardless or the day count