mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-09 12:31:23 +01:00
Fixed elements back button
This commit is contained in:
parent
69027e83f2
commit
246af9a998
@ -114,7 +114,7 @@ public class ElementsEdition extends EditionInventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
registerItemEdition(config);
|
registerItemEdition(config);
|
||||||
new ElementsEdition(player, type, id).open();
|
new ElementsEdition(player, type, id).open(getPreviousPage());
|
||||||
player.sendMessage(MMOItems.plugin.getPrefix() + ChatColor.RED + MMOUtils.caseOnWords(elementPath.replace(".", " ")) + ChatColor.GRAY + " successfully removed.");
|
player.sendMessage(MMOItems.plugin.getPrefix() + ChatColor.RED + MMOUtils.caseOnWords(elementPath.replace(".", " ")) + ChatColor.GRAY + " successfully removed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ public class SoundsEdition extends EditionInventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
registerItemEdition(config);
|
registerItemEdition(config);
|
||||||
new SoundsEdition(player, type, id).open();
|
new SoundsEdition(player, type, id).open(getPreviousPage());
|
||||||
player.sendMessage(MMOItems.plugin.getPrefix() + ChatColor.RED + MMOUtils.caseOnWords(soundPath.replace("-", " ")) + " Sound" + ChatColor.GRAY + " successfully removed.");
|
player.sendMessage(MMOItems.plugin.getPrefix() + ChatColor.RED + MMOUtils.caseOnWords(soundPath.replace("-", " ")) + " Sound" + ChatColor.GRAY + " successfully removed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user