mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-22 12:16:21 +01:00
Add missing dust_color_transition data remapping (changed in 24w03a)
This commit is contained in:
parent
e5fff8fabc
commit
471d4acf20
@ -94,6 +94,9 @@ public final class BlockItemPacketRewriter1_20_5 extends BackwardsStructuredItem
|
||||
if (data == 0) {
|
||||
wrapper.set(Type.FLOAT, 3, (float) color);
|
||||
}
|
||||
} else if (particle.id() == protocol.getMappingData().getParticleMappings().mappedId("dust_color_transition")) {
|
||||
// fromColor, toColor, scale -> fromColor, scale, toColor
|
||||
particle.add(3, Type.FLOAT, particle.<Float> removeArgument(6).getValue());
|
||||
}
|
||||
|
||||
wrapper.set(Type.VAR_INT, 0, particle.id());
|
||||
|
Loading…
Reference in New Issue
Block a user