mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-16 00:26:32 +02:00
commit
b5944f66a7
@ -39,7 +39,7 @@ public class ConnectionData {
|
|||||||
ConnectionHandler handler = connectionHandlerMap.get(blockState);
|
ConnectionHandler handler = connectionHandlerMap.get(blockState);
|
||||||
if (handler == null) continue;
|
if (handler == null) continue;
|
||||||
|
|
||||||
int newBlockState = handler.connect(user, position, blockState);
|
int newBlockState = handler.connect(user, pos, blockState);
|
||||||
PacketWrapper blockUpdatePacket = new PacketWrapper(0x0B, null, user);
|
PacketWrapper blockUpdatePacket = new PacketWrapper(0x0B, null, user);
|
||||||
blockUpdatePacket.write(Type.POSITION, pos);
|
blockUpdatePacket.write(Type.POSITION, pos);
|
||||||
blockUpdatePacket.write(Type.VAR_INT, newBlockState);
|
blockUpdatePacket.write(Type.VAR_INT, newBlockState);
|
||||||
|
Loading…
Reference in New Issue
Block a user