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

beetree picture beetree  路  3Comments

JoshuaACasey picture JoshuaACasey  路  3Comments

TheDiamondYT1 picture TheDiamondYT1  路  3Comments

XDqrkneZ picture XDqrkneZ  路  3Comments

Ox531 picture Ox531  路  3Comments