summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
committerMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
commit208f2397f416ecdc790713a13bc5055c0ac43f0f (patch)
tree4ca8e0abb22275856c09c0e20e55b623ed057da2 /source/Items
parentMerge branch 'master' of git://github.com/nesco/MCServer. (diff)
parentPossible compile fix (diff)
downloadcuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.gz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.bz2
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.lz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.xz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.zst
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.zip
Diffstat (limited to 'source/Items')
-rw-r--r--source/Items/ItemComparator.h4
-rw-r--r--source/Items/ItemRedstoneRepeater.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/Items/ItemComparator.h b/source/Items/ItemComparator.h
index 53dbd020d..3fbb7603d 100644
--- a/source/Items/ItemComparator.h
+++ b/source/Items/ItemComparator.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_INACTIVE_COMPARATOR;
- a_BlockMeta = cRedstoneSimulator::RepeaterRotationToMetaData(a_Player->GetRotation());
+ a_BlockMeta = cBlockRedstoneRepeaterHandler::RepeaterRotationToMetaData(a_Player->GetRotation());
return true;
}
} ;
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;
}
} ;