mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-31 23:24:39 +00:00
TU24
This commit is contained in:
@@ -141,7 +141,7 @@ bool DyePowderItem::useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Play
|
||||
int tile = level->getTile(x, y, z);
|
||||
int data = level->getData(x, y, z);
|
||||
|
||||
if (tile == Tile::treeTrunk_Id && Tile::treeTrunk->getWoodType(data) == LogTile::JUNGLE_TRUNK)
|
||||
if (tile == Tile::treeTrunk_Id && TreeTile::getWoodType(data) == TreeTile::JUNGLE_TRUNK)
|
||||
{
|
||||
if (face == 0) return false;
|
||||
if (face == 1) return false;
|
||||
|
||||
Reference in New Issue
Block a user