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

jasonwynn10 picture jasonwynn10  路  3Comments

MisteFr picture MisteFr  路  3Comments

Hugheth picture Hugheth  路  3Comments

dktapps picture dktapps  路  3Comments

beetree picture beetree  路  3Comments