Skip to content

Commit

Permalink
fix: Looking at a Zombie Villager throws Exception (close: #504)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snownee committed Nov 25, 2024
1 parent 18759d1 commit 31ee1e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void appendTooltip(ITooltip tooltip, EntityAccessor accessor, IPluginConf

@Override
public boolean shouldRequestData(EntityAccessor accessor) {
return ((ZombieVillager) accessor).isConverting();
return ((ZombieVillager) accessor.getEntity()).isConverting();
}

@Override
Expand Down

0 comments on commit 31ee1e1

Please sign in to comment.