From 8002d6cff5815df3cbef6bd86c39877b11adc245 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 23 Jun 2024 20:56:58 +0200 Subject: [PATCH] fix paint brush --- .../java/net/thenextlvl/gopaint/brush/standard/PaintBrush.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/thenextlvl/gopaint/brush/standard/PaintBrush.java b/src/main/java/net/thenextlvl/gopaint/brush/standard/PaintBrush.java index 6b9f67ee..542b6915 100644 --- a/src/main/java/net/thenextlvl/gopaint/brush/standard/PaintBrush.java +++ b/src/main/java/net/thenextlvl/gopaint/brush/standard/PaintBrush.java @@ -106,7 +106,7 @@ public void paint(Location target, Player player, BrushSettings brushSettings) { continue; } - var vector3 = BlockVector3.at(block.getX(), block.getY(), block.getZ()); + var vector3 = BlockVector3.at(point.getX(), point.getY(), point.getZ()); setBlock(session, vector3, brushSettings.getRandomBlock()); } });