summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-15 14:15:56 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-15 14:15:56 +0200
commit82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9 (patch)
tree1fad85f7d68f68ac4e25225e73d87c5a7bbb85c4 /src/WorldStorage
parentEntities handle chunks properly again (diff)
downloadcuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar.gz
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar.bz2
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar.lz
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar.xz
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.tar.zst
cuberite-82b3d543e7bcdbffb34f9fb555c2acb6fb9b10d9.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/FireworksSerializer.cpp2
-rw-r--r--src/WorldStorage/FireworksSerializer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/FireworksSerializer.cpp b/src/WorldStorage/FireworksSerializer.cpp
index 744fc731f..e0cd69634 100644
--- a/src/WorldStorage/FireworksSerializer.cpp
+++ b/src/WorldStorage/FireworksSerializer.cpp
@@ -231,7 +231,7 @@ void cFireworkItem::FadeColoursFromString(const AString & a_String, cFireworkIte
-int cFireworkItem::GetVanillaColourCodeFromDye(short a_DyeMeta)
+int cFireworkItem::GetVanillaColourCodeFromDye(NIBBLETYPE a_DyeMeta)
{
/*
Colours are supposed to be calculated via: R << 16 + G << 8 + B
diff --git a/src/WorldStorage/FireworksSerializer.h b/src/WorldStorage/FireworksSerializer.h
index cbc544a14..59f1b09b0 100644
--- a/src/WorldStorage/FireworksSerializer.h
+++ b/src/WorldStorage/FireworksSerializer.h
@@ -81,7 +81,7 @@ public:
static void FadeColoursFromString(const AString & a_String, cFireworkItem & a_FireworkItem);
/** Returns a colour code for fireworks used by the network code */
- static int GetVanillaColourCodeFromDye(short a_DyeMeta);
+ static int GetVanillaColourCodeFromDye(NIBBLETYPE a_DyeMeta);
bool m_HasFlicker;
bool m_HasTrail;