Pocketmine-mp: Button is not solid block

Created on 15 Feb 2017  路  1Comment  路  Source: pmmp/PocketMine-MP

There is no function 'isSolid()' in button class
And when Player stay near button, it causes damage

Solution: add function 'isSolid()' in StoneButton.php && WoodenButton.php:

```php
public function isSolid(){
return false;
}

Gameplay Duplicate

Most helpful comment

181

I'm not messing with crap I'm going to rewrite. If you want to make a PR to fix this yourself, feel free.

>All comments

181

I'm not messing with crap I'm going to rewrite. If you want to make a PR to fix this yourself, feel free.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

markkrueg picture markkrueg  路  18Comments

zKoz210 picture zKoz210  路  23Comments

matcracker picture matcracker  路  17Comments

mal0ne-23 picture mal0ne-23  路  17Comments

MisteFr picture MisteFr  路  18Comments