vexyl / MCHawk

A Minecraft classic server
MIT License
8 stars 4 forks source link

Bedrock placement #32

Open vexyl opened 6 years ago

vexyl commented 6 years ago

Bedrock shouldn't be placable or breakable. Make sure commands respect this as well (e.g., /cuboid)

(Thanks turtleclub for pointing this out)

GiantCrocodile commented 6 years ago

New requirements:

vexyl commented 6 years ago

Also, the central PlaceBlock function, when written, should check all protocols for valid blocks and check client->CanBuild(). There should also be a client->CanPlaceBlock() that checks if a player has permission to place a block; ideally, this would be done after permissions are rewritten in C++ and there's some kind of canPlaceBedrock option or similar--a workaround would be acceptable, however.