Fix wrong protocol class

This commit is contained in:
creeper123123321 2019-04-27 13:12:19 -03:00
parent 4258f52f86
commit 7b29972af0
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -25,7 +25,6 @@ import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.providers.BlockEntityP
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.providers.PaintingProvider;
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.storage.BlockStorage;
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.types.Chunk1_13Type;
import us.myles.ViaVersion.protocols.protocol1_14to1_13_2.Protocol1_14To1_13_2;
import us.myles.ViaVersion.protocols.protocol1_9_1_2to1_9_3_4.types.Chunk1_9_3_4Type;
import us.myles.ViaVersion.protocols.protocol1_9_3to1_9_1_2.storage.ClientWorld;
@ -405,7 +404,7 @@ public class WorldPackets {
if (Via.getConfig().isServersideBlockConnections()) {
// Workaround for packet order issue
wrapper.send(Protocol1_14To1_13_2.class, true, true);
wrapper.send(Protocol1_13To1_12_2.class, true, true);
wrapper.cancel();
ConnectionData.connectBlocks(wrapper.user(), chunk);
}