update adventure (used for chat)

This commit is contained in:
nossr50
2020-11-27 16:55:40 -08:00
parent bcd260d9c1
commit 0ce316e428
5 changed files with 8 additions and 7 deletions

View File

@@ -448,7 +448,7 @@ public final class CombatUtils {
*/
public static void fixNames(@NotNull LivingEntity entity)
{
List<MetadataValue> metadataValue = entity.getMetadata("mcMMO_oldName");
List<MetadataValue> metadataValue = entity.getMetadata(TransientMetadataTools.OLD_NAME_METAKEY);
if(metadataValue.size() <= 0)
return;