summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockBanner.h')
-rw-r--r--src/Blocks/BlockBanner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockBanner.h b/src/Blocks/BlockBanner.h
index cdcdfc179..e6a159bd4 100644
--- a/src/Blocks/BlockBanner.h
+++ b/src/Blocks/BlockBanner.h
@@ -29,14 +29,14 @@ public:
- virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, const Vector3i a_RelPos, const cChunk & a_Chunk) const override
+ virtual bool CanBeAt(const cChunk & a_Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) const override
{
- if (a_RelPos.y < 1)
+ if (a_Position.y < 1)
{
return false;
}
- return cBlockInfo::IsSolid(a_Chunk.GetBlock(a_RelPos.addedY(-1)));
+ return cBlockInfo::IsSolid(a_Chunk.GetBlock(a_Position.addedY(-1)));
}