mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-12-01 13:03:43 +01:00
Fixes
This commit is contained in:
parent
0944160d2a
commit
6a07ef8988
@ -146,7 +146,7 @@ class AxMinionsPlugin : AxPlugin() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 0, Config.AUTO_SAVE_MINUTES() * 20 * 60)
|
}, 1, Config.AUTO_SAVE_MINUTES() * 20 * 60)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun disable() {
|
override fun disable() {
|
||||||
|
@ -301,7 +301,7 @@ class Minion(
|
|||||||
} else if (it.equals("charge")) {
|
} else if (it.equals("charge")) {
|
||||||
if (Config.CHARGE_ENABLED()) {
|
if (Config.CHARGE_ENABLED()) {
|
||||||
val charge = Placeholder.parsed("charge", TimeUtils.format(charge - System.currentTimeMillis()))
|
val charge = Placeholder.parsed("charge", TimeUtils.format(charge - System.currentTimeMillis()))
|
||||||
item = ItemBuilder(type.getConfig().getSection("gui.$it"), charge).storePersistentData(
|
item = ItemBuilder(AxMinionsAPI.INSTANCE.getConfig().getConfig().getSection("gui.items.$it"), charge).storePersistentData(
|
||||||
Keys.GUI, PersistentDataType.STRING, it
|
Keys.GUI, PersistentDataType.STRING, it
|
||||||
).get()
|
).get()
|
||||||
} else {
|
} else {
|
||||||
|
@ -105,12 +105,6 @@ gui:
|
|||||||
item:
|
item:
|
||||||
type: "air"
|
type: "air"
|
||||||
slot: 13
|
slot: 13
|
||||||
|
|
||||||
# These settings are minion-specific, you can edit them in each minion's file!
|
|
||||||
upgrade:
|
|
||||||
slot: 15
|
|
||||||
statistics:
|
|
||||||
slot: 16
|
|
||||||
charge:
|
charge:
|
||||||
type: "lava_bucket"
|
type: "lava_bucket"
|
||||||
name: "<#FB8E08><b>Charge"
|
name: "<#FB8E08><b>Charge"
|
||||||
@ -118,9 +112,14 @@ gui:
|
|||||||
- ""
|
- ""
|
||||||
- " <gray>- <white>Current charge: <#FFCC00><charge>"
|
- " <gray>- <white>Current charge: <#FFCC00><charge>"
|
||||||
- ""
|
- ""
|
||||||
- "<#FB8E08><b>(!)</b> Click here to charge your minion for <white>10 minutes</white> for <white>$10,000</white>!"
|
- "<#FB8E08><b>(!)</b> Click here to charge your minion for <white>30 minutes</white>!"
|
||||||
slot: 9
|
slot: 9
|
||||||
|
|
||||||
|
# These settings are minion-specific, you can edit them in each minion's file!
|
||||||
|
upgrade:
|
||||||
|
slot: 15
|
||||||
|
statistics:
|
||||||
|
slot: 16
|
||||||
# Only change this, if you are asked to! This will make your performance worse, and will spam messages in your console!
|
# Only change this, if you are asked to! This will make your performance worse, and will spam messages in your console!
|
||||||
# Requires restart!
|
# Requires restart!
|
||||||
debug: false
|
debug: false
|
||||||
|
Loading…
Reference in New Issue
Block a user