Pocketmine-mp: Unwanted behavior of sugarcane

Created on 29 Jan 2019  路  1Comment  路  Source: pmmp/PocketMine-MP

Issue description

If a block is placed on top of a sugarcane and the the sugar cane is given some bonemeal, the sugarcane grows on top of the block as see in the screenshot attached below.

  • Expected result: What were you expecting to happen?
    Sugar cane to not grow on the block when given bonemeal.
  • Actual result: What actually happened?
    Sugar cane skips the block and grows on top of it.

Steps to reproduce the issue

  1. Place down a sugarcane.
  2. Place a block directly on top of the sugar cane.
  3. Bonemeal the sugar cane.
  4. Watch it grow on top of the block.

OS and versions

Tested on PocketMine Public Dev Server.
IP: dev1.ams.pmmp.io

Screenshot

screenshot_20190129-210817_toolbox for minecraft

Gameplay Fixed

Most helpful comment

This code is written in such a dumb way it's hardly surprising. In fact it almost looks like it was designed to do this.

>All comments

This code is written in such a dumb way it's hardly surprising. In fact it almost looks like it was designed to do this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dktapps picture dktapps  路  3Comments

Muqsit picture Muqsit  路  3Comments

dktapps picture dktapps  路  3Comments

jasonwynn10 picture jasonwynn10  路  3Comments

sergeysova picture sergeysova  路  3Comments