summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Palettes/Upgrade.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-12-21 14:54:04 +0100
committerGitHub <noreply@github.com>2020-12-21 14:54:04 +0100
commit9518a273570e8d38438c2a29aa10f987e7d44ce1 (patch)
tree11806582f5e27bad01ae96705f75f431ec3e9caf /src/Protocol/Palettes/Upgrade.h
parentImprove Enderman targeting (diff)
downloadcuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.gz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.bz2
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.lz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.xz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.zst
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Palettes/Upgrade.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Protocol/Palettes/Upgrade.h b/src/Protocol/Palettes/Upgrade.h
index 4d75009ee..f0aa87095 100644
--- a/src/Protocol/Palettes/Upgrade.h
+++ b/src/Protocol/Palettes/Upgrade.h
@@ -1,11 +1,12 @@
#pragma once
-#include "../../BlockType.h"
-#include "../../Registries/Items.h"
+#include "ChunkDef.h"
+#include "BlockState.h"
+#include "Registries/Items.h"
namespace PaletteUpgrade
{
- short FromBlock(BLOCKTYPE Block, NIBBLETYPE Meta);
+ BlockState FromBlock(BLOCKTYPE Block, NIBBLETYPE Meta);
Item FromItem(short Item, short Damage);
std::pair<short, short> ToItem(Item ID);
}