mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 16:39:36 +00:00
3.4.2.2
This commit is contained in:
@@ -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