File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 4242import com .viaversion .viaversion .protocols .protocol1_20_2to1_20 .packet .ServerboundPackets1_20_2 ;
4343import com .viaversion .viaversion .protocols .protocol1_20_2to1_20 .rewriter .RecipeRewriter1_20_2 ;
4444import com .viaversion .viaversion .protocols .protocol1_20_2to1_20 .type .ChunkType1_20_2 ;
45- import com .viaversion .viaversion .protocols .protocol1_20to1_19_4 .Protocol1_20To1_19_4 ;
4645import com .viaversion .viaversion .rewriter .BlockRewriter ;
4746import com .viaversion .viaversion .util .Key ;
4847import com .viaversion .viaversion .util .MathUtil ;
@@ -295,8 +294,7 @@ public void register() {
295294 map (Type .INT ); // 9 - Particle Count
296295 handler (wrapper -> {
297296 final int id = wrapper .get (Type .VAR_INT , 0 );
298- // Use 1.19.4->1.20 mappings
299- final ParticleMappings mappings = Protocol1_20To1_19_4 .MAPPINGS .getParticleMappings ();
297+ final ParticleMappings mappings = Protocol1_20To1_20_2 .MAPPINGS .getParticleMappings ();
300298 if (mappings .isBlockParticle (id )) {
301299 final int data = wrapper .read (Type .VAR_INT );
302300 wrapper .write (Type .VAR_INT , protocol .getMappingData ().getNewBlockStateId (data ));
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencyResolutionManagement {
1515
1616pluginManagement {
1717 plugins {
18- id(" net.kyori.blossom" ) version " 2.0.1 "
18+ id(" net.kyori.blossom" ) version " 2.1.0 "
1919 id(" org.jetbrains.gradle.plugin.idea-ext" ) version " 1.1.7"
2020 id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
2121 }
You can’t perform that action at this time.
0 commit comments