mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
95 fix
This commit is contained in:
parent
0275420a12
commit
b328736591
2 changed files with 5 additions and 3 deletions
|
|
@ -172,7 +172,9 @@ abstract class Block extends Position{
|
|||
final public function getID(){
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setMetadata($i){
|
||||
$this->meta = $i;
|
||||
}
|
||||
final public function getMetadata(){
|
||||
return $this->meta & 0x0F;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue