From 1f27f2e6cde6a0cfebe4a18a81979e5c110d5dec Mon Sep 17 00:00:00 2001 From: Matt Worzala Date: Sun, 11 Apr 2021 00:46:04 -0400 Subject: [PATCH] provide default location --- .../packet/client/play/ClientUpdateStructureBlockPacket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java b/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java index e7a023511..5cceadc28 100644 --- a/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java +++ b/src/main/java/net/minestom/server/network/packet/client/play/ClientUpdateStructureBlockPacket.java @@ -16,7 +16,7 @@ public class ClientUpdateStructureBlockPacket extends ClientPlayPacket { */ public static final byte SHOW_BOUNDING_BOX = 0x4; - public BlockPosition location; + public BlockPosition location = new BlockPosition(0, 0, 0); public Action action = Action.UPDATE_DATA; public Mode mode = Mode.DATA; public String name = "";