mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fix some non-properly-implemented blocks killing people and bad inheritances
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
|
||||
namespace pocketmine\block;
|
||||
|
||||
class StonePressurePlate extends Solid{
|
||||
class StonePressurePlate extends Transparent{
|
||||
|
||||
protected $id = self::STONE_PRESSURE_PLATE;
|
||||
|
||||
@ -32,4 +32,8 @@ class StonePressurePlate extends Solid{
|
||||
public function getName(){
|
||||
return "Stone Pressure Plate";
|
||||
}
|
||||
|
||||
public function isSolid(){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user