diff options
author | Mattes D <github@xoft.cz> | 2014-09-25 20:45:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-25 20:45:54 +0200 |
commit | e751f4ffe3856134f4a8c49be31c41b94815322f (patch) | |
tree | 361d520144c3cb7a9e6fa37da6ee4ae65afcbd6b /src/BlockEntities | |
parent | Protocol 1.8: Handling packet compression properly. (diff) | |
parent | Comment style (diff) | |
download | cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar.gz cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar.bz2 cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar.lz cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar.xz cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.tar.zst cuberite-e751f4ffe3856134f4a8c49be31c41b94815322f.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/DispenserEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp index c02c68afa..f8830bf25 100644 --- a/src/BlockEntities/DispenserEntity.cpp +++ b/src/BlockEntities/DispenserEntity.cpp @@ -203,7 +203,7 @@ void cDispenserEntity::SpawnProjectileFromDispenser(int a_BlockX, int a_BlockY, Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE a_Meta) { - switch (a_Meta) + switch (a_Meta & 0x7) { case E_META_DROPSPENSER_FACING_YP: return Vector3d( 0, 1, 0); case E_META_DROPSPENSER_FACING_YM: return Vector3d( 0, -1, 0); |