We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8f4798 commit 0927682Copy full SHA for 0927682
src/main/java/com/plusls/MasaGadget/impl/feature/entityInfo/VillagerNextRestockTimeInfo.java
@@ -16,8 +16,9 @@ public static Component getInfo(@NotNull Villager villager) {
16
long nextRestockTime;
17
long nextWorkTime;
18
long timeOfDay = villager.getLevel().getDayTime() % 24000;
19
+ VillagerProfession profession = villager.getVillagerData().getProfession();
20
- if (villager.getVillagerData().getProfession() != VillagerProfession.LIBRARIAN) {
21
+ if (profession == VillagerProfession.NONE || profession == VillagerProfession.NITWIT) {
22
return null;
23
}
24
0 commit comments