summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Palettes/Palette_1_16.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-18 23:45:04 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-19 01:43:33 +0200
commit1b9b5877349b26b7b9029cf1802a2e9cad4bc301 (patch)
tree18f0accd515d91515ca2199f790467c8310ce67d /src/Protocol/Palettes/Palette_1_16.cpp
parentDelete unused member (diff)
downloadcuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar.gz
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar.bz2
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar.lz
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar.xz
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.tar.zst
cuberite-1b9b5877349b26b7b9029cf1802a2e9cad4bc301.zip
Diffstat (limited to 'src/Protocol/Palettes/Palette_1_16.cpp')
-rw-r--r--src/Protocol/Palettes/Palette_1_16.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Palettes/Palette_1_16.cpp b/src/Protocol/Palettes/Palette_1_16.cpp
index 5e86d54a0..cc162d526 100644
--- a/src/Protocol/Palettes/Palette_1_16.cpp
+++ b/src/Protocol/Palettes/Palette_1_16.cpp
@@ -5,7 +5,7 @@
namespace Palette_1_16
{
- Int32 FromBlock(short ID)
+ UInt32 FromBlock(short ID)
{
using namespace Block;
@@ -11779,7 +11779,7 @@ namespace Palette_1_16
}
}
- Int32 FromItem(Item ID)
+ UInt32 FromItem(Item ID)
{
switch (ID)
{
@@ -12762,7 +12762,7 @@ namespace Palette_1_16
}
}
- Item ToItem(Int32 ID)
+ Item ToItem(UInt32 ID)
{
switch (ID)
{