Skip to content

Commit

Permalink
fixes and changelog #229
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke100000 committed Dec 29, 2024
1 parent 1cc4c14 commit fd2091f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.7.10

* Backported various smaller fixes related to models, fueling, damage mechanics, sounds, ...

# 0.7.9

* Fixed Forge being drunk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void tick() {

// Refuel
if (isVehicle()) {
if (!level().isClientSide()) {
if (!level.isClientSide()) {
refuel();

// Fuel notification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void tick(InventoryVehicleEntity entity) {
int index = entity.tickCount % lastSyncIndex;
ItemStack stack = getItem(index);
ItemStack trackedStack = tracked.get(index);
if (ItemStack.isSameItem(stack, trackedStack)) {
if (!ItemStack.isSameItemSameTags(stack, trackedStack)) {
tracked.set(index, stack.copy());
entity.getLevel().players().forEach(p -> {
if (!(p.containerMenu instanceof VehicleScreenHandler vehicleScreenHandler && vehicleScreenHandler.getVehicle() == entity)) {
Expand Down

0 comments on commit fd2091f

Please sign in to comment.