mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Fixed sword efficiency on anything that's not cobwebs
This commit is contained in:
parent
45ee115b67
commit
a94c669730
@ -252,7 +252,7 @@ class Block extends Position implements BlockIds, Metadatable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($item->isSword()){
|
if($item->isSword()){
|
||||||
$base *= 0.5;
|
$base /= 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $base;
|
return $base;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user