From 68776c4d5919638b3cecccd083155cd58ccac573 Mon Sep 17 00:00:00 2001 From: KingCol13 <48412633+KingCol13@users.noreply.github.com> Date: Fri, 9 Jul 2021 18:45:53 +0100 Subject: Item frame maps (#5258) + Send map data when item frame spawns. + Add some casts to placate compiler warnings. * size_t for array access. * Mark chunk dirty when rotation or item in item frame is changed. --- src/Items/ItemSign.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Items') diff --git a/src/Items/ItemSign.h b/src/Items/ItemSign.h index fc5174e0b..02913b58f 100644 --- a/src/Items/ItemSign.h +++ b/src/Items/ItemSign.h @@ -77,7 +77,7 @@ private: a_Rotation = (a_Rotation / 360) * 16; - return static_cast(a_Rotation) % 16; + return static_cast(a_Rotation) % 16; } } ; -- cgit v1.2.3