Skip to content

Commit

Permalink
Fix translation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VoxCrafterLP committed Mar 19, 2021
1 parent 1598c48 commit 09ead24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void onClick(InventoryClickEvent event) {
}
}

if(event.getInventory().getName().equals("§cSettings")) {
if(event.getInventory().getName().equals(JumpRace.getInstance().getLanguageLoader().getTranslationByKey("settings-inventory-name"))) {
event.setCancelled(true);

if(event.getCurrentItem().getType() == Material.REDSTONE_COMPARATOR) {
Expand Down

0 comments on commit 09ead24

Please sign in to comment.