Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
If trying to attach button, lever etc.. to some items side, it immediately drops #4239
Client version: 1.12.2
In vanilla server, buttons, levers, torches, etc. which is not block shape can not be placed on top or side of things like torch, flowers etc.(if trying to do that, nothing happens)
But in cuberite, it is destroyed as soon as it is attached and dropped in item form. And
I think it is bug because if trying to attach torch to side of torch, nothing happens in cuberite either like vanilla server.
If trying to attach some items(like button, torch, redstone torch, pressure plate etc.) to other small blocks(like torch, flowers etc.), just swinging hand and nothing happens
In that pictures, that attached things were immediately changed into item and dropped
Steps to reproduce the behavior
Indeed, it seems to be a regression introduced by a recent version of Minecraft no longer checking for invalid placements clientside, which the original code (a8a45a4) assumed.
Probably would have to go through all the handlers and do the proper FullyOccupiesVoxel checks.