Skip to content

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

Description

@jorolf

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CraftOSThis affects CraftOS, or any other Lua portions of the mod.bugA problem or unexpected behaviour with the mod.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions