diff --git a/pom.xml b/pom.xml
index 467a62ae9c..a4bd058dad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
me.mrCookieSlime
Slimefun
- 4.2-UNOFFCIAL-20200204
+ 4.2-UNOFFCIAL-20200205
1.8
diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/ErrorReport.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/ErrorReport.java
index 31fb130827..6d0c939889 100644
--- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/ErrorReport.java
+++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/ErrorReport.java
@@ -23,7 +23,7 @@
import me.mrCookieSlime.Slimefun.api.BlockStorage;
import me.mrCookieSlime.Slimefun.api.PlayerProfile;
import me.mrCookieSlime.Slimefun.api.Slimefun;
-import me.mrCookieSlime.Slimefun.api.TickerTask;
+import io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask;
public class ErrorReport {
diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/ChestSlimefunGuide.java b/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/ChestSlimefunGuide.java
index 951cffdb0d..0a43d055b7 100644
--- a/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/ChestSlimefunGuide.java
+++ b/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/ChestSlimefunGuide.java
@@ -182,7 +182,7 @@ public void openCategory(PlayerProfile profile, Category category, boolean survi
ChestMenu menu = create(p);
fillInv(p, profile, menu, survival);
- menu.addItem(1, new CustomItem(ChestMenuUtils.getBackButton(), meta -> meta.setLore(Arrays.asList("", ChatColors.color("&r左键: &7返回主菜单")))));
+ menu.addItem(1, new CustomItem(ChestMenuUtils.getBackButton(p, "", SlimefunPlugin.getLocal().getMessage(p, "guide.back.guide"))));
menu.addMenuClickHandler(1, (pl, s, is, action) -> {
openMainMenu(profile, survival, 1);
return false;
@@ -294,7 +294,7 @@ public void openSearch(PlayerProfile profile, String input, boolean survival, bo
menu.setEmptySlotsClickable(false);
fillInv(p, profile, menu, survival);
- addBackButton(menu, 1, profile, survival);
+ addBackButton(menu, 1, p, profile, survival);
int index = 9;
// Find items and add them
@@ -484,7 +484,7 @@ private void displayItem(ChestMenu menu, PlayerProfile profile, Player p, Object
history.add(obj);
}
- addBackButton(menu, 0, profile, true);
+ addBackButton(menu, 0, p, profile, true);
MenuClickHandler clickHandler = (pl, slot, itemstack, action) -> {
displayItem(profile, itemstack, true);
@@ -529,16 +529,16 @@ private void fillInv(Player p, PlayerProfile profile, ChestMenu menu, boolean su
}
}
- private void addBackButton(ChestMenu menu, int slot, PlayerProfile profile, boolean survival) {
+ private void addBackButton(ChestMenu menu, int slot, Player p, PlayerProfile profile, boolean survival) {
List