Skip to content

Commit b65d7af

Browse files
authored
Fix default dripstone particle in 1.21.9->1.21.11 (ViaVersion#4735)
1 parent 8f7fd34 commit b65d7af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/src/main/java/com/viaversion/viaversion/protocols/v1_21_9to1_21_11/Protocol1_21_9To1_21_11.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ protected void registerPackets() {
137137
if (!tag.getBoolean("natural")) {
138138
attributes.putFloat("visual/sky_light_factor", 0F);
139139
}
140+
if (tag.getBoolean("ultrawarm")) {
141+
final CompoundTag defaultDripstoneParticle = new CompoundTag();
142+
defaultDripstoneParticle.putString("type", "dripping_dripstone_lava");
143+
attributes.put("visual/default_dripstone_particle", defaultDripstoneParticle);
144+
}
140145

141146
moveAttribute(tag, attributes, "cloud_height", "visual/cloud_height", cloudHeight -> {
142147
if (cloudHeight instanceof NumberTag numberTag) {

0 commit comments

Comments
 (0)