Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-08 17:20:20 +01:00
Potted azaleas are now visible
Dieser Commit ist enthalten in:
Ursprung
b2619fa7c7
Commit
a1706365b9
@ -93,8 +93,13 @@ public class BlockStateValues {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (javaId.contains("potted_") || javaId.contains("flower_pot")) {
|
if (javaId.startsWith("minecraft:potted_") || javaId.equals("minecraft:flower_pot")) {
|
||||||
FLOWER_POT_VALUES.put(javaBlockState, javaId.replace("potted_", ""));
|
String name = javaId.replace("potted_", "");
|
||||||
|
if (name.contains("azalea")) {
|
||||||
|
// Exception to the rule
|
||||||
|
name = name.replace("_bush", "");
|
||||||
|
}
|
||||||
|
FLOWER_POT_VALUES.put(javaBlockState, name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren