CC: Tweaked

CC: Tweaked

42M Downloads

Rednet `send` sends wrapper instead of actual message when the receiver is the same computer

jorolf opened this issue ยท 1 comments

commented

Minecraft Version

1.18.x

Version

1.100.10

Details

There is currently a bug introduced by e16f66e where rednet.receive receives the message wrapper for modem packets when the receiver is the local computer and the short circuit is triggered:

if recipient == os.getComputerID() then
-- Loopback to ourselves
os.queueEvent("rednet_message", os.getComputerID(), message_wrapper, protocol)
sent = true

Instead of message_wrapper message should be passed instead (like it used to).

commented

Thank you for the detailed report, good spot!