summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DispenserEntity.cpp
diff options
context:
space:
mode:
authorJoannisO <Joannis.Orlandos@gmail.com>2014-06-03 19:39:56 +0200
committerJoannisO <Joannis.Orlandos@gmail.com>2014-06-03 19:39:56 +0200
commitc0716bfcf6cce720f41e98544eb4a4532a694a0a (patch)
treefa5c68d64dc9fd8ea278e40b84ed11a7bd13ae33 /src/BlockEntities/DispenserEntity.cpp
parent- Fixed a bug where I used the FireCharge ITEM instead of the Projectile (diff)
downloadcuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar.gz
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar.bz2
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar.lz
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar.xz
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.tar.zst
cuberite-c0716bfcf6cce720f41e98544eb4a4532a694a0a.zip
Diffstat (limited to 'src/BlockEntities/DispenserEntity.cpp')
-rw-r--r--src/BlockEntities/DispenserEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp
index 904ab871b..bbf924417 100644
--- a/src/BlockEntities/DispenserEntity.cpp
+++ b/src/BlockEntities/DispenserEntity.cpp
@@ -235,6 +235,8 @@ Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE & a_Meta)
case E_META_DROPSPENSER_FACING_ZM: return Vector3d(0, 0, -1);
case E_META_DROPSPENSER_FACING_ZP: return Vector3d(0, 0, 1);
}
+
+ return Vector3d(0, 1, 0);
}