From 071b7be3d4d08c337c01de7abca034e6c3746194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Imrich?= Date: Sat, 3 Apr 2021 19:45:20 +0200 Subject: Basic elytra flight (#5124) * Basic elytra flight Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang --- src/Defines.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Defines.cpp') diff --git a/src/Defines.cpp b/src/Defines.cpp index 4adbc1c5c..02b9f28d5 100644 --- a/src/Defines.cpp +++ b/src/Defines.cpp @@ -535,6 +535,7 @@ bool ItemCategory::IsHelmet(short a_ItemType) bool ItemCategory::IsChestPlate(short a_ItemType) { return ( + (a_ItemType == E_ITEM_ELYTRA) || (a_ItemType == E_ITEM_LEATHER_TUNIC) || (a_ItemType == E_ITEM_GOLD_CHESTPLATE) || (a_ItemType == E_ITEM_CHAIN_CHESTPLATE) || -- cgit v1.2.3