mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
Fixed anti-fly triggered when walking on unknown blocks
This commit is contained in:
parent
dac6c49bce
commit
0a8826b21f
@ -21,9 +21,13 @@
|
|||||||
|
|
||||||
namespace pocketmine\block;
|
namespace pocketmine\block;
|
||||||
|
|
||||||
class UnknownBlock extends Flowable{
|
class UnknownBlock extends Transparent{
|
||||||
|
|
||||||
public function canBeFlowedInto(){
|
public function isSolid(){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHardness(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user