#1361: Add more translation keys
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
@@ -375,6 +375,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
||||
return nmsItemStack.getItem().getDescriptionId(nmsItemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTranslationKey(final Attribute attribute) {
|
||||
return CraftAttribute.bukkitToMinecraft(attribute).getDescriptionId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public FeatureFlag getFeatureFlag(NamespacedKey namespacedKey) {
|
||||
Preconditions.checkArgument(namespacedKey != null, "NamespaceKey cannot be null");
|
||||
|
||||
Reference in New Issue
Block a user