summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-05-10 17:09:48 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-05-10 17:09:48 +0200
commit4ca178f24ab74ee32340d40fad12a70e65a134df (patch)
tree6919ab334a8830af252e9b3046fe623d46a9dd62 /src
parentA portal block now chooses a number between 2000 and 0 (diff)
downloadcuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar.gz
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar.bz2
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar.lz
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar.xz
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.tar.zst
cuberite-4ca178f24ab74ee32340d40fad12a70e65a134df.zip
Diffstat (limited to 'src')
-rw-r--r--src/Blocks/BlockPortal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPortal.h b/src/Blocks/BlockPortal.h
index 47f0bca64..3b8030028 100644
--- a/src/Blocks/BlockPortal.h
+++ b/src/Blocks/BlockPortal.h
@@ -50,7 +50,7 @@ public:
int PosX = a_Chunk.GetPosX() * 16 + a_RelX;
int PosZ = a_Chunk.GetPosZ() * 16 + a_RelZ;
- a_WorldInterface.SpawnMob(PosX, a_RelY, PosZ, cMonster::eType::mtZombiePigman);
+ a_WorldInterface.SpawnMob(PosX, a_RelY, PosZ, cMonster::mtZombiePigman);
}
virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override