summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-01-27 13:12:47 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-01-27 15:06:36 +0100
commit0b9fa6842db3eb22d8b6f04c6969940a3b41ccac (patch)
treefa2366a950566cf49596921a70de3ff7e8ecf85d
parentReplaced "new/delete" with safer analogues (diff)
downloadAltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar.gz
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar.bz2
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar.lz
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar.xz
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.tar.zst
AltCraft-0b9fa6842db3eb22d8b6f04c6969940a3b41ccac.zip
Diffstat (limited to '')
-rw-r--r--src/Block.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Block.cpp b/src/Block.cpp
index 2ef79e9..a12db9d 100644
--- a/src/Block.cpp
+++ b/src/Block.cpp
@@ -356,6 +356,9 @@ std::pair<std::string, std::string> TransformBlockIdToBlockStateName(BlockId blo
case 89: {
return std::make_pair("glowstone", "normal");
}
+ case 90: {
+ return std::make_pair("portal", blockId.state == 1 ? "axis=x" : "axis=z");
+ }
case 93: {
static const std::string dirs[] = {
"east",