mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Block Names
This commit is contained in:
parent
5a054a8ab4
commit
888e84dd69
5 changed files with 124 additions and 101 deletions
|
|
@ -49,6 +49,10 @@ abstract class Block{
|
|||
$this->shortname = strtolower(str_replace(" ", "_", $name));
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
final public function getID(){
|
||||
return $id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue