diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-08-12 10:54:36 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-19 21:45:27 +0200 |
commit | 7d0813ce8c1be14bc1b9b706644bd4aa797244ee (patch) | |
tree | 6d026a11be6db2da3d60b94b4f4a442460253e1d /src/Protocol/Protocol_1_14.cpp | |
parent | Add enhanced Gold generation in Mesa-Type Biomes (#4821) (diff) | |
download | cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.gz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.bz2 cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.lz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.xz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.zst cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.zip |
Diffstat (limited to 'src/Protocol/Protocol_1_14.cpp')
-rw-r--r-- | src/Protocol/Protocol_1_14.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_14.cpp b/src/Protocol/Protocol_1_14.cpp index d6751c6b1..3222e7fe2 100644 --- a/src/Protocol/Protocol_1_14.cpp +++ b/src/Protocol/Protocol_1_14.cpp @@ -303,3 +303,12 @@ UInt32 cProtocol_1_14::GetProtocolIDFromItem(short a_ItemID, short a_ItemDamage) { return Palette_1_14::FromItem(PaletteUpgrade::FromItem(a_ItemID, a_ItemDamage)); } + + + + + +UInt32 cProtocol_1_14::GetProtocolStatisticType(Statistic a_Statistic) +{ + return Palette_1_14::From(a_Statistic); +} |