Version 1.0.19b

This commit is contained in:
Adrian Marquis
2023-05-29 13:49:34 +00:00
parent 5386f164b9
commit b5ede55eba
927 changed files with 92525 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
const $MysticalAgricultureAPI = Java.loadClass('com.blakebr0.mysticalagriculture.api.MysticalAgricultureAPI')
const CropManualDisableList = ["gaia_spirit", "mithril", "tungsten", "titanium", "chrome"]
const CropManualEnableList = []
StartupEvents.postInit(event => {
let CropRegistry = $MysticalAgricultureAPI.getCropRegistry()
for (const disable of CropManualDisableList) {
CropRegistry.getCropByName(disable).setEnabled(false)
}
for (const enable of CropManualEnableList) {
CropRegistry.getCropByName(enable).setEnabled(true)
}
})