File tree Expand file tree Collapse file tree
src/main/java/com/dehys/norbecore Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import java .util .Arrays ;
44
5+ @ SuppressWarnings ({"unused" , "RedundantSuppression" })
56public enum Statistic {
67
78
@@ -22,6 +23,7 @@ public enum Statistic {
2223
2324 private final String key ;
2425 private final Substatistic substatistic ;
26+
2527 Statistic (String key , Substatistic substatistic ) {
2628 this .key = key ;
2729 this .substatistic = substatistic ;
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ public enum Substatistic {
44
55 MATERIAL ,
66 ENTITY ,
7- NONE ;
7+ NONE
88
99}
Original file line number Diff line number Diff line change 11package com .dehys .norbecore .listeners ;
22
3- import com .dehys .norbecore .main .Main ;
43import com .dehys .norbecore .enums .Statistic ;
4+ import com .dehys .norbecore .main .Main ;
55import org .bukkit .entity .Player ;
66import org .bukkit .event .EventHandler ;
77import org .bukkit .event .Listener ;
88import org .bukkit .event .inventory .CraftItemEvent ;
99
10- import java .util .Objects ;
1110
1211public class ItemCraftListener implements Listener {
1312
You can’t perform that action at this time.
0 commit comments