Fixed getRedstoneInput function on redstone interface card and block.

This commit is contained in:
IpsumCapra
2022-04-06 18:49:57 +02:00
parent abc7a2300a
commit a81a6b62c3
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ public final class RedstoneInterfaceBlockEntity extends ModBlockEntity implement
assert direction != null;
final BlockPos neighborPos = pos.relative(direction);
final ChunkPos chunkPos = new ChunkPos(neighborPos.getX(), neighborPos.getZ());
final ChunkPos chunkPos = new ChunkPos(neighborPos);
if (!level.hasChunk(chunkPos.x, chunkPos.z)) {
return 0;
}