From 4f9f31ccc06aba7f82d2700fd16e6f05314f8273 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 22 Oct 2016 13:07:22 +1100 Subject: [PATCH] SPIGOT-2737: Implement Statistic.PICKUP By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/CraftStatistic.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftStatistic.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftStatistic.java index b66a628187..393313ed5e 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftStatistic.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftStatistic.java @@ -119,6 +119,9 @@ public class CraftStatistic { if (stat == Statistic.BREAK_ITEM) { return StatisticList.c(CraftMagicNumbers.getItem(material)); // PAIL: getBreakItemStatistic } + if (stat == Statistic.PICKUP) { + return StatisticList.d(CraftMagicNumbers.getItem(material)); // PAIL: getPickupStatistic + } if (stat == Statistic.DROP) { return StatisticList.e(CraftMagicNumbers.getItem(material)); // PAIL: getDropItemStatistic }