wall block item to use its own texture (for real)

This commit is contained in:
minjaesong
2019-02-01 17:28:08 +09:00
parent 7d3bf0eece
commit 01094d49eb
3 changed files with 32 additions and 5 deletions

View File

@@ -269,7 +269,7 @@ object ItemCodex {
// wall
else if (item.originalID in ITEM_WALLS) {
return BlocksDrawer.tileItemWall.get(
(item.originalID.minus(ITEM_WALLS.first) % 16) * 16,
(item.originalID.minus(ITEM_WALLS.first) % 16),
(item.originalID.minus(ITEM_WALLS.first) / 16)
)
}