Skip to content

Commit

Permalink
Use getEntityRepresentation for parity with Vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
Adubbz committed Jan 2, 2024
1 parent dd528bb commit 6b9c613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/toughasnails/init/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private static void registerItemProperties()
@Override
public float unclampedCall(ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity, int seed)
{
Entity holder = entity != null ? entity : stack.getFrame();
Entity holder = entity != null ? entity : stack.getEntityRepresentation();

if (holder == null)
return 0.5F;
Expand Down

0 comments on commit 6b9c613

Please sign in to comment.