Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Aug 20, 2024
1 parent 31f2d65 commit 035a5f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void deserializeNBT(@NotNull final HolderLookup.Provider provider, final
final ListTag furnaceTagList = compound.getList(TAG_FURNACES, Tag.TAG_INT_ARRAY);
for (int i = 0; i < furnaceTagList.size(); ++i)
{
furnaces.add(NBTUtils.readBlockPos(furnaceTagList.getCompound(i), TAG_POS));
furnaces.add(NBTUtils.readBlockPos(furnaceTagList.getCompound(i)));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private IState eat()

citizen.swing(InteractionHand.MAIN_HAND);
citizen.playSound(SoundEvents.GENERIC_EAT, (float) BASIC_VOLUME, (float) SoundUtils.getRandomPitch(citizen.getRandom()));
new ItemParticleEffectMessage(citizen.getMainHandItem(),
new ItemParticleEffectMessage(foodStack,
citizen.getX(),
citizen.getY(),
citizen.getZ(),
Expand Down

0 comments on commit 035a5f8

Please sign in to comment.