Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
fix: Return early in banner translation if tag is null (#2729)
Dieser Commit ist enthalten in:
Ursprung
65aaa07493
Commit
b134dd3b1c
@ -41,6 +41,10 @@ public class BannerBlockEntityTranslator extends BlockEntityTranslator implement
|
||||
builder.put("Base", 15 - bannerColor);
|
||||
}
|
||||
|
||||
if (tag == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (tag.contains("Patterns")) {
|
||||
ListTag patterns = tag.get("Patterns");
|
||||
if (patterns.equals(BannerTranslator.OMINOUS_BANNER_PATTERN)) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren