Tweaked block break times #254

This commit is contained in:
Shoghi Cervantes 2013-06-16 17:33:24 +02:00
parent c136eb2b2e
commit 84a5f0fce5

View File

@ -156,7 +156,7 @@ abstract class Block extends Position{
$this->id = (int) $id; $this->id = (int) $id;
$this->meta = (int) $meta; $this->meta = (int) $meta;
$this->name = $name; $this->name = $name;
$this->breakTime = 0.25; $this->breakTime = 0.20;
} }
final public function getName(){ final public function getName(){
@ -190,7 +190,7 @@ abstract class Block extends Position{
public function getBreakTime(Item $item, Player $player){ public function getBreakTime(Item $item, Player $player){
if(($player->gamemode & 0x01) === 0x01){ if(($player->gamemode & 0x01) === 0x01){
return 0.20; return 0.15;
} }
return $this->breakTime; return $this->breakTime;
} }