Skip to content

Commit 31b5d93

Browse files
committed
[🐛] Fixed incorrect 'entryType' used for kit display name change
1 parent a1cf19c commit 31b5d93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/snipertvmc/essentialsxgui/inventories/kits/KitEditingInventory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void changeKitDisplayName(Player player, EXGKit kit) {
114114

115115
SoundsUtils.playSound(player, EXGSound.GUI_CLICK);
116116

117-
EXGEntryType entryType = Main.getInstance().getFilesManager().getConfiguration().getEntryType("kits", "changeKitIconEntryType");
117+
EXGEntryType entryType = Main.getInstance().getFilesManager().getConfiguration().getEntryType("kits", "changeKitDisplayNameEntryType");
118118
if (entryType == EXGEntryType.CHAT) {
119119
player.closeInventory();
120120
player.sendMessage(MessagesUtils.get(EXGMessage.ENTER_NEW_DISPLAY_NAME_CHAT, null));

0 commit comments

Comments
 (0)