mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
Fixed redstone lamp light levels and hardness
This commit is contained in:
parent
2cd05bf5b5
commit
9e02f3c4e3
@ -30,4 +30,8 @@ class LitRedstoneLamp extends RedstoneLamp{
|
|||||||
public function getName(){
|
public function getName(){
|
||||||
return "Lit Redstone Lamp";
|
return "Lit Redstone Lamp";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getLightLevel(){
|
||||||
|
return 15;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,4 +34,8 @@ class RedstoneLamp extends Solid{
|
|||||||
public function getName(){
|
public function getName(){
|
||||||
return "Redstone Lamp";
|
return "Redstone Lamp";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHardness(){
|
||||||
|
return 0.3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user