mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Added correct friction factor for ice & packed-ice
This commit is contained in:
parent
84c8ac03fb
commit
d6266d19b6
@ -48,6 +48,10 @@ class Ice extends Transparent{
|
||||
return 2;
|
||||
}
|
||||
|
||||
public function getFrictionFactor() : float{
|
||||
return 0.98;
|
||||
}
|
||||
|
||||
public function getToolType() : int{
|
||||
return Tool::TYPE_PICKAXE;
|
||||
}
|
||||
|
@ -41,6 +41,10 @@ class PackedIce extends Solid{
|
||||
return 0.5;
|
||||
}
|
||||
|
||||
public function getFrictionFactor() : float{
|
||||
return 0.98;
|
||||
}
|
||||
|
||||
public function getToolType() : int{
|
||||
return Tool::TYPE_PICKAXE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user