mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Added stripped logs (incomplete)
this isn't practical to fully implement right now due to limitations imposed by the legacy shitfest system we're using. To make stripped dynamic, we would need to switch the IDs _and_ variant info dynamically, and I have no idea what bizarre side effects that might have.
This commit is contained in:
@ -27,4 +27,8 @@ use pocketmine\block\utils\PillarRotationInMetadataTrait;
|
||||
|
||||
class Log extends Wood{
|
||||
use PillarRotationInMetadataTrait;
|
||||
|
||||
protected function getAxisMetaShift() : int{
|
||||
return $this->isStripped() ? 0 : 2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user