mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-11 13:11:50 +01:00
Marked anvil text input as deprecated
This commit is contained in:
parent
d0096e5060
commit
724184b67c
@ -1,9 +1,7 @@
|
||||
package net.Indyuce.mmoitems.api.edition;
|
||||
|
||||
import io.lumine.mythic.lib.MythicLib;
|
||||
import io.lumine.mythic.lib.api.util.ui.FriendlyFeedbackCategory;
|
||||
import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.Indyuce.mmoitems.api.edition.input.AnvilGUI;
|
||||
import net.Indyuce.mmoitems.api.edition.input.ChatEdition;
|
||||
import net.Indyuce.mmoitems.gui.PluginInventory;
|
||||
import net.Indyuce.mmoitems.gui.edition.EditionInventory;
|
||||
@ -52,11 +50,11 @@ public class StatEdition implements Edition {
|
||||
/*
|
||||
* Anvil text input feature. enables players to use an anvil to input
|
||||
* text if they are having conflicts with their chat management plugins.
|
||||
*/
|
||||
*
|
||||
if (MMOItems.plugin.getConfig().getBoolean("anvil-text-input") && MythicLib.plugin.getVersion().isBelowOrEqual(1, 13)) {
|
||||
new AnvilGUI(this);
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
// Default chat edition feature
|
||||
new ChatEdition(this);
|
||||
|
@ -15,6 +15,7 @@ import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.Indyuce.mmoitems.api.edition.Edition;
|
||||
import io.lumine.mythic.lib.MythicLib;
|
||||
|
||||
@Deprecated
|
||||
public class AnvilGUI extends PlayerInputHandler implements Listener {
|
||||
private final int containerId;
|
||||
private final Inventory inventory;
|
||||
@ -26,6 +27,7 @@ public class AnvilGUI extends PlayerInputHandler implements Listener {
|
||||
*
|
||||
* @param edition Data being edited
|
||||
*/
|
||||
@Deprecated
|
||||
public AnvilGUI(Edition edition) {
|
||||
super(edition);
|
||||
|
||||
|
@ -181,12 +181,6 @@ custom-blocks:
|
||||
# custom blocks, as the mushroom blocks can BREAK everything.
|
||||
replace-mushroom-drops: true
|
||||
|
||||
# Use this option if your chat management plugin is having
|
||||
# conflicts with the MMOItems chat input feature. This will
|
||||
# bring up an anvil GUI which you can input text in instead
|
||||
# of using the chat.
|
||||
anvil-text-input: false
|
||||
|
||||
# When set to true, players CANNOT upgrade an item if the
|
||||
# specs (level, profession requirements) the item WOULD
|
||||
# have if it were upgraded are too high for the player.
|
||||
|
Loading…
Reference in New Issue
Block a user