summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemRedstoneRepeater.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-18 23:30:34 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-18 23:30:34 +0100
commitbc1e236d547479833cc4f8d8218064cbdb9dfc0d (patch)
tree8b40bc3a6d5a7b6828d72095afc7c8dfbf5137d5 /source/Items/ItemRedstoneRepeater.h
parentMineshafts: silenced a compiler warning. (diff)
downloadcuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.gz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.bz2
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.lz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.xz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.zst
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.zip
Diffstat (limited to 'source/Items/ItemRedstoneRepeater.h')
-rw-r--r--source/Items/ItemRedstoneRepeater.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Items/ItemRedstoneRepeater.h b/source/Items/ItemRedstoneRepeater.h
index 459070579..f69f24eb8 100644
--- a/source/Items/ItemRedstoneRepeater.h
+++ b/source/Items/ItemRedstoneRepeater.h
@@ -2,7 +2,7 @@
#pragma once
#include "ItemHandler.h"
-#include "../Simulator/RedstoneSimulator.h"
+#include "../Blocks/BlockRedstoneRepeater.h"
@@ -30,7 +30,7 @@ public:
) override
{
a_BlockType = E_BLOCK_REDSTONE_REPEATER_OFF;
- a_BlockMeta = cRedstoneSimulator::RepeaterRotationToMetaData(a_Player->GetRotation());
+ a_BlockMeta = cBlockRedstoneRepeaterHandler::RepeaterRotationToMetaData(a_Player->GetRotation());
return true;
}
} ;