Skip to content

requesting blockentity data for a block that isnt a blockentity crashes server #2102

@H41ogen

Description

@H41ogen

Steps to Reproduce and Observed Behavior

this can only be replicated by a modified client, but the modification is very simple. for example i wrote a function that would run:

main.network.Protocols.blockEntityUpdate.sendClientDataUpdateToServer(main.game.world.?.conn, pos);

const inventorySize = 20;
const inventory = main.items.Inventory.init(main.globalAllocator, inventorySize, .normal, .{.blockInventory = pos}, .{});

main.gui.windowlist.chest.setInventory(inventory);
main.gui.openWindow("chest");
main.Window.setMouseGrabbed(false);

p.s. idk the proper way to write a github issue, blame codemob, they told me to :3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working in the intended waycontributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions