mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Better auto-save, less resource and disk usage
This commit is contained in:
parent
f12620f376
commit
06a0f169dd
4 changed files with 15 additions and 4 deletions
|
|
@ -35,8 +35,10 @@ class WoodBlock extends SolidBlock{
|
|||
WoodBlock::OAK => "Oak Wood",
|
||||
WoodBlock::SPRUCE => "Spruce Wood",
|
||||
WoodBlock::BIRCH => "Birch Wood",
|
||||
3 => "",
|
||||
);
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->meta &= 0x03;
|
||||
$this->name = $names[$this->meta];
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue