mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Tweaked block break times #254
This commit is contained in:
parent
c136eb2b2e
commit
84a5f0fce5
@ -156,7 +156,7 @@ abstract class Block extends Position{
|
||||
$this->id = (int) $id;
|
||||
$this->meta = (int) $meta;
|
||||
$this->name = $name;
|
||||
$this->breakTime = 0.25;
|
||||
$this->breakTime = 0.20;
|
||||
}
|
||||
|
||||
final public function getName(){
|
||||
@ -190,7 +190,7 @@ abstract class Block extends Position{
|
||||
|
||||
public function getBreakTime(Item $item, Player $player){
|
||||
if(($player->gamemode & 0x01) === 0x01){
|
||||
return 0.20;
|
||||
return 0.15;
|
||||
}
|
||||
return $this->breakTime;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user