We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6bd88f + b008eda commit ee4735cCopy full SHA for ee4735c
src/main/resources/assets/computercraft/lua/rom/programs/rednet/repeat.lua
@@ -44,7 +44,7 @@ local ok, error = pcall( function()
44
if sEvent == "modem_message" then
45
-- Got a modem message, rebroadcast it if it's a rednet thing
46
if nChannel == rednet.CHANNEL_REPEAT then
47
- if type( tMessage ) == "table" and tMessage.nMessageID and tMessage.nRecipient then
+ if type( tMessage ) == "table" and tMessage.nMessageID and tMessage.nRecipient and type(tMessage.nRecipient) == "number" then
48
if not tReceivedMessages[ tMessage.nMessageID ] then
49
-- Ensure we only repeat a message once
50
tReceivedMessages[ tMessage.nMessageID ] = true
0 commit comments