Expose EntityType#getTranslationKey

This commit is contained in:
Shane Freeder 2021-08-11 06:12:57 +00:00
parent cdb63d6ad0
commit 0850e18436

View file

@ -99,7 +99,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * @return the translation key
+ */
+ @Nullable
+ String getTranslationKey() {
+ public String getTranslationKey() {
+ return org.bukkit.Bukkit.getUnsafe().getTranslationKey(this);
+ }
}