mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-2737: Implement Statistic.PICKUP
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0228a9574e
commit
4f9f31ccc0
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,9 @@ public class CraftStatistic {
|
||||||
if (stat == Statistic.BREAK_ITEM) {
|
if (stat == Statistic.BREAK_ITEM) {
|
||||||
return StatisticList.c(CraftMagicNumbers.getItem(material)); // PAIL: getBreakItemStatistic
|
return StatisticList.c(CraftMagicNumbers.getItem(material)); // PAIL: getBreakItemStatistic
|
||||||
}
|
}
|
||||||
|
if (stat == Statistic.PICKUP) {
|
||||||
|
return StatisticList.d(CraftMagicNumbers.getItem(material)); // PAIL: getPickupStatistic
|
||||||
|
}
|
||||||
if (stat == Statistic.DROP) {
|
if (stat == Statistic.DROP) {
|
||||||
return StatisticList.e(CraftMagicNumbers.getItem(material)); // PAIL: getDropItemStatistic
|
return StatisticList.e(CraftMagicNumbers.getItem(material)); // PAIL: getDropItemStatistic
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue