summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Palettes/Upgrade.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Protocol/Palettes/Upgrade.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Palettes/Upgrade.cpp b/src/Protocol/Palettes/Upgrade.cpp
index 23e7681a3..671810b7a 100644
--- a/src/Protocol/Palettes/Upgrade.cpp
+++ b/src/Protocol/Palettes/Upgrade.cpp
@@ -1703,9 +1703,9 @@ namespace PaletteUpgrade
}
}
- Item FromItem(short Item, short Meta)
+ Item FromItem(short Item, short Damage)
{
- switch ((Item << 16) | Meta)
+ switch ((Item << 16) | Damage)
{
case (1 << 16) | 0: return Item::Stone;
case (1 << 16) | 1: return Item::Granite;