diff --git a/Minecraft.World/CommonStats.cpp b/Minecraft.World/CommonStats.cpp index 88b5c23a..e5cfa8cc 100644 --- a/Minecraft.World/CommonStats.cpp +++ b/Minecraft.World/CommonStats.cpp @@ -109,9 +109,11 @@ Stat *CommonStats::get_itemsUsed(int itemId) #if (defined _EXTENDED_ACHIEVEMENTS) && (!defined _XBOX_ONE) // 4J-JEV: I've done the same thing here, we can't place these items anyway. if (itemId == Item::porkChop_cooked_Id) return Stats::blocksPlaced[itemId]; + return nullptr; #endif if (itemId == Item::porkChop_cooked_Id) return Stats::blocksPlaced[itemId]; + return nullptr; } Stat *CommonStats::get_itemsBought(int itemId)