fix(i18n): key mismatch
This commit is contained in:
parent
cbc4c748ca
commit
7c70ebf9b6
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ public class InvalidateCacheItem extends SuppliedItem {
|
|||
|
||||
final Player player = click.getPlayer();
|
||||
final I18N i18n = new I18N(player);
|
||||
player.sendMessage(i18n.translate(I18NDict.Event.Admin.Cache.INVALIDATE_ALL));
|
||||
player.sendMessage(i18n.translate(I18NDict.Event.Admin.Cache.INVALIDATE_CACHE));
|
||||
NickoBukkit.getInstance().getMojangAPI().getSkinCache().invalidateAll();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ public class I18NDict {
|
|||
public static class Cache {
|
||||
public static final String CACHE_KEY = ADMIN_KEY + "cache.";
|
||||
|
||||
public static final String INVALIDATE_ALL = CACHE_KEY + "invalidate_all";
|
||||
public static final String INVALIDATE_CACHE = CACHE_KEY + "invalidate_cache";
|
||||
public static final String INVALIDATE_ENTRY = CACHE_KEY + "invalidate_entry";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue