You should update the API documentation
#2
Ahoj Smile

Yes, the cursor coords and blockface is no longer sent to the OnPlayerPlacingBlock and OnPlayerPlacedBlock hooks. The change has been made about a month ago, and has been the result of this forum discussion:
https://forum.cuberite.org/showthread.php?tid=1664

I didn't find your plugin online, so it's not listed in the list of plugins that I investigated. Sorry about that.

Basically, the change allows us to call the hooks for blocks being placed indirectly - as part of larger structures, such as doors and beds. The Cursor coords and BlockFace are sent by the client when placing the block, they basically tell you which part of the block the player has rclked.
Reply
Thanks given by:


Messages In This Thread
RE: You should update the API documentation - by xoft - 01-07-2015, 05:18 PM



Users browsing this thread: 1 Guest(s)