From 03c794cd5369a7fab66425ef1f60d24e47906a83 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Thu, 18 May 2023 19:01:09 +0100 Subject: [PATCH] Remove packet distance restriction for wired modems Given that the network (and peripheral access within the network) no longer have distance limits, packets being limited makes less sense. Closes #1434. --- .../shared/peripheral/modem/wired/WiredModemPeripheral.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/src/main/java/dan200/computercraft/shared/peripheral/modem/wired/WiredModemPeripheral.java b/projects/common/src/main/java/dan200/computercraft/shared/peripheral/modem/wired/WiredModemPeripheral.java index 0ebf0cba5..49eccfea8 100644 --- a/projects/common/src/main/java/dan200/computercraft/shared/peripheral/modem/wired/WiredModemPeripheral.java +++ b/projects/common/src/main/java/dan200/computercraft/shared/peripheral/modem/wired/WiredModemPeripheral.java @@ -44,12 +44,12 @@ public abstract class WiredModemPeripheral extends ModemPeripheral implements Wi //region IPacketSender implementation @Override public boolean isInterdimensional() { - return false; + return true; } @Override public double getRange() { - return 256.0; + return Integer.MAX_VALUE; } @Override