-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -446,7 +446,8 @@ class SakuraTree extends Tree { | |
*/ | ||
public function __construct() { | ||
$this->trunkBlock = Block::LOG; | ||
$this->leafBlock = Block::WOOL; | ||
$this->leafBlock = Block::AIR; // To remove bushes | ||
$this->realLeafBlock = Block::WOOL; | ||
$this->leafType = 6; | ||
$this->leaf2Type = 0; | ||
$this->type = Wood::OAK; | ||
|
@@ -668,7 +669,7 @@ public function setLeave(ChunkManager $level, $x, $y, $z, Random $random) { | |
$this->leafType, | ||
$this->leaf2Type | ||
] [( int ) $random->nextBoolean ()]; | ||
$level->setBlockIdAt($x, $y, $z, $this->leafBlock); | ||
$level->setBlockIdAt($x, $y, $z, $this->realLeafBlock); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
inxomnyaa
Collaborator
|
||
$level->setBlockDataAt($x, $y, $z, $data); | ||
} | ||
} |
5 comments
on commit 34cd479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
day one: Added a ton of amazing features
day 10: removed feature # 2 because it causes a bug
day 12: removed feature # 4 # 8 because it conflict with feature # 7
day 15: removed feature # 7 because it's bugged out anyways
I have a feeling this will be how we go from now on...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great apparently you cant escape them...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, looks like it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it wasn't a bug. It just looked wierd. But now I will be starting readding features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But ow I will
XD but ow
uh why