mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 00:19:24 +00:00
3.4.2.2
This commit is contained in:
@@ -8,7 +8,7 @@ plugins {
|
||||
allprojects {
|
||||
|
||||
project.group = "net.momirealms"
|
||||
project.version = "3.4.2.1"
|
||||
project.version = "3.4.2.2"
|
||||
|
||||
apply<JavaPlugin>()
|
||||
apply(plugin = "java")
|
||||
|
||||
@@ -1710,7 +1710,7 @@ public class ItemManagerImpl implements ItemManager {
|
||||
|
||||
@SuppressWarnings("DuplicatedCode")
|
||||
private void loadCrop(String key, ConfigurationSection section) {
|
||||
ItemCarrier itemCarrier = ItemCarrier.valueOf(section.getString("type"));
|
||||
ItemCarrier itemCarrier = ItemCarrier.valueOf(section.getString("type").toUpperCase(Locale.ENGLISH));
|
||||
if (itemCarrier != ItemCarrier.TRIPWIRE && itemCarrier != ItemCarrier.ITEM_DISPLAY && itemCarrier != ItemCarrier.ITEM_FRAME) {
|
||||
LogUtils.warn("Unsupported crop type: " + itemCarrier.name());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user