implement the hook for the PlaceBlockEvent