1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Fixed Iron Golems being repaired with slimefun ingots

This commit is contained in:
TheBusyBiscuit 2020-01-04 16:32:23 +01:00
parent 2409978b1d
commit e5fd1ad5b4
2 changed files with 4 additions and 2 deletions

View File

@ -85,6 +85,8 @@ https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#4
* Fixed #1337
* Fixed Applie Pie ID mismatch
* Fixed #1344
* Fixed #1349
* Fixed #1332
## Release Candidate 3 (21 Nov 2019)
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#3

View File

@ -182,7 +182,7 @@ public final class GuideSettings {
if (SlimefunPlugin.getSettings().researchFireworksEnabled) {
if (!PersistentDataAPI.hasByte(p, FIREWORKS_KEY) || PersistentDataAPI.getByte(p, FIREWORKS_KEY) == (byte) 1) {
menu.addItem(i, new CustomItem(Material.FIREWORK_ROCKET, "&bFireworks: &aYes", "", "&7When researching items, you will", "&7be presented with a big firework.", "", "&7\u21E8 Click to toggle your fireworks"),
menu.addItem(i, new CustomItem(Material.FIREWORK_ROCKET, "&bFireworks: &aYes", "", "&7When researching items, you will", "&7be presented with a big firework.", "", "&7\u21E8 &eClick to disable your fireworks"),
(pl, slot, item, action) -> {
PersistentDataAPI.setByte(pl, FIREWORKS_KEY, (byte) 0);
openSettings(pl, guide);
@ -190,7 +190,7 @@ public final class GuideSettings {
});
}
else {
menu.addItem(i, new CustomItem(Material.FIREWORK_ROCKET, "&bFireworks: &4No", "", "&7When researching items, you will", "&7not be presented with a big firework.", "", "&7\u21E8 Click to toggle your fireworks"),
menu.addItem(i, new CustomItem(Material.FIREWORK_ROCKET, "&bFireworks: &4No", "", "&7When researching items, you will", "&7not be presented with a big firework.", "", "&7\u21E8 &eClick to enable your fireworks"),
(pl, slot, item, action) -> {
PersistentDataAPI.setByte(pl, FIREWORKS_KEY, (byte) 1);
openSettings(pl, guide);