mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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;
|
||||
|
||||
class UnknownBlock extends Flowable{
|
||||
class UnknownBlock extends Transparent{
|
||||
|
||||
public function canBeFlowedInto(){
|
||||
public function isSolid(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getHardness(){
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user