Mojira Archive
MC-119013

CPacketRecipePlacement can delete items by moving them into slot with different item or stack with maximum stack size

Based on 1.12 decompiled using MCP 9.40 PRE 1

The bug

The packet CPacketRecipePlacement can delete items by using a "from inventory to open container" item movement which uses the method net.minecraft.inventory.Container.func_192388_b(int, ItemStack). This method just ignores the item movement if either the unlocalized names do not match (see also MC-119012) or the stack at the destination already has its max stack size.

This can for example allow players to delete their inventory content during a PVP battle to prevent enemy players from getting their items.

Duplicate

Marcono1234

2017-06-26, 12:03 PM

2017-08-01, 03:32 PM

2017-08-01, 03:32 PM

1

0

Confirmed

delete, item-stack, packet, recipe-book, unlocalized-name

Minecraft 1.12

-