diff options
author | Mattes D <github@xoft.cz> | 2014-04-21 09:21:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-21 09:21:31 +0200 |
commit | 4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14 (patch) | |
tree | fb45c65b86f4f0b6cfdb125d0c5e941e6042c1ad /src/CraftingRecipes.cpp | |
parent | Allow 1.6.4 Forge clients to log in. (diff) | |
download | cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar.gz cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar.bz2 cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar.lz cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar.xz cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.tar.zst cuberite-4c7621ed16bfa9f0224eab52f8f7acbb0b61ec14.zip |
Diffstat (limited to 'src/CraftingRecipes.cpp')
-rw-r--r-- | src/CraftingRecipes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp index 30e7a8733..c3d6de74d 100644 --- a/src/CraftingRecipes.cpp +++ b/src/CraftingRecipes.cpp @@ -824,7 +824,7 @@ void cCraftingRecipes::HandleFireworks(const cItem * a_CraftingGrid, cCraftingRe case E_ITEM_DYE: { int GridID = (itr->x + a_OffsetX) + a_GridStride * (itr->y + a_OffsetY); - DyeColours.push_back(cFireworkItem::GetVanillaColourCodeFromDye(a_CraftingGrid[GridID].m_ItemDamage)); + DyeColours.push_back(cFireworkItem::GetVanillaColourCodeFromDye((NIBBLETYPE)(a_CraftingGrid[GridID].m_ItemDamage & 0x0f))); break; } case E_ITEM_GUNPOWDER: break; |