mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
1 parent
cb8efe6874
commit
e296ba2a2a
1 file changed
+3
@@ -528,6 +528,9 @@ public class QuickShop extends JavaPlugin {
|
||||
|
||||
public CustomItemName getCustomItemNames(ItemStack is) {
|
||||
List<CustomItemName> list = customItemsName.get(is.getType());
|
||||
if (list==null) {
|
||||
return null;
|
||||
}
|
||||
for (CustomItemName cin : list) {
|
||||
if (cin.matches(is)) {
|
||||
return cin;
|
||||
|
||||
Reference in new issue
Block a user