Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ public String getColor(boolean includeDeprecated) {
case CAT -> {
Cat cat = as(Cat.class);
// TODO once 1.21 is the minimum supported version, replace with direct registry-based handling
if (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_20)) {
yield Utilities.namespacedKeyToString(cat.getCatType().getKey()) + "|" + cat.getCollarColor().name();
}
yield cat.getCatType() + "|" + cat.getCollarColor().name();
}
case PANDA -> {
Expand Down