Fix llama carpet decoration offset

This commit is contained in:
Camotoy 2021-06-05 13:51:02 -04:00
parent 282800cefc
commit e4e35d3c0b
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -456,7 +456,7 @@ public class ItemRegistry {
BOATS.add(entry.getValue().get("bedrock_id").intValue()); BOATS.add(entry.getValue().get("bedrock_id").intValue());
} else if (entry.getKey().contains("bucket") && !entry.getKey().contains("milk")) { } else if (entry.getKey().contains("bucket") && !entry.getKey().contains("milk")) {
BUCKETS.add(entry.getValue().get("bedrock_id").intValue()); BUCKETS.add(entry.getValue().get("bedrock_id").intValue());
} else if (entry.getKey().contains("_carpet")) { } else if (entry.getKey().contains("_carpet") && !entry.getKey().contains("moss")) {
// This should be the numerical order Java sends as an integer value for llamas // This should be the numerical order Java sends as an integer value for llamas
CARPETS.add(ItemData.builder() CARPETS.add(ItemData.builder()
.id(itemEntry.getBedrockId()) .id(itemEntry.getBedrockId())