mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-19 15:09:25 +00:00
3.4.11
This commit is contained in:
@@ -8,7 +8,7 @@ plugins {
|
||||
allprojects {
|
||||
|
||||
project.group = "net.momirealms"
|
||||
project.version = "3.4.10"
|
||||
project.version = "3.4.11"
|
||||
|
||||
apply<JavaPlugin>()
|
||||
apply(plugin = "java")
|
||||
|
||||
@@ -73,6 +73,7 @@ tasks {
|
||||
relocate ("dev.dejvokep.boostedyaml", "net.momirealms.customcrops.libraries.boostedyaml")
|
||||
relocate ("net.momirealms.biomeapi", "net.momirealms.customcrops.libraries.biomeapi")
|
||||
relocate ("net.momirealms.antigrieflib", "net.momirealms.customcrops.libraries.antigrieflib")
|
||||
relocate ("net.objecthunter.exp4j", "net.momirealms.customcrops.libraries.exp4j")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1810,7 +1810,7 @@ public class ItemManagerImpl implements ItemManager {
|
||||
@SuppressWarnings("DuplicatedCode")
|
||||
private void loadCrop(String key, ConfigurationSection section) {
|
||||
ItemCarrier itemCarrier = ItemCarrier.valueOf(section.getString("type").toUpperCase(Locale.ENGLISH));
|
||||
if (itemCarrier != ItemCarrier.TRIPWIRE && itemCarrier != ItemCarrier.ITEM_DISPLAY && itemCarrier != ItemCarrier.ITEM_FRAME) {
|
||||
if (itemCarrier != ItemCarrier.TRIPWIRE && itemCarrier != ItemCarrier.ITEM_DISPLAY && itemCarrier != ItemCarrier.ITEM_FRAME && itemCarrier != ItemCarrier.NOTE_BLOCK) {
|
||||
LogUtils.warn("Unsupported crop type: " + itemCarrier.name());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user