Removed placeholder in bank anvil gui

This commit is contained in:
Fabrizio La Rosa 2020-07-07 17:07:00 +02:00
parent c5c9f97404
commit ebee135ce2
2 changed files with 3 additions and 12 deletions

View File

@ -185,21 +185,13 @@ public class GuiBankSelector extends Gui {
e.player.closeInventory();
guiManager.showGUI(event.player, returnGui);
}));
ItemStack input = CompatibleMaterial.PAPER.getItem();
ItemMeta im = input.getItemMeta();
if(im != null){
im.setDisplayName(TextUtils.formatText(languageLoad.getString("Menu.Bank.Words.Amount")));
input.setItemMeta(im);
}
gui.setInput(input);
switch(type){
case DEPOSIT:
gui.setTitle(TextUtils.formatText(languageLoad.getString("Menu.Bank.Words.Deposit")));
gui.setTitle(languageLoad.getString("Menu.Bank.Words.Deposit"));
break;
case WITHDRAW:
gui.setTitle(TextUtils.formatText(languageLoad.getString("Menu.Bank.Words.Withdraw")));
gui.setTitle(languageLoad.getString("Menu.Bank.Words.Withdraw"));
break;
}
guiManager.showGUI(event.player, gui);

View File

@ -3392,7 +3392,6 @@ Menu:
Words:
Withdraw: 'Withdraw'
Deposit: 'Deposit'
Amount: 'Amount'
Input:
Title: 'Select amount.'
Item: