Skip to content

Commit e9609e6

Browse files
committed
Renames
1 parent 7098ded commit e9609e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/dev/technici4n/moderndynamics/pipe/PipeBlockEntity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ protected void updateConnection(Direction side, boolean addConnection) {
355355
// Exposed caps do change
356356
invalidateCapabilities();
357357

358-
level.updateNeighborsAt(worldPosition, getBlockState().getBlock());
358+
level.updateNeighborsAt(getBlockPos(), getBlockState().getBlock());
359359

360360
setChanged();
361361
// no need to sync(), that's already handled by the refresh or update if necessary
@@ -449,7 +449,7 @@ public InteractionResult useItemOn(Player player, InteractionHand hand, BlockHit
449449

450450
host.setAttachment(hitSide, attachmentItem);
451451
host.getAttachment(hitSide).onPlaced(player);
452-
level.updateNeighborsAt(worldPosition, getBlockState().getBlock());
452+
level.updateNeighborsAt(getBlockPos(), getBlockState().getBlock());
453453
refreshHosts();
454454
scheduleHostUpdates();
455455
setChanged();

0 commit comments

Comments
 (0)