From e27b1d54210cf79b024b9a430d9c1339ba258577 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 6 Sep 2017 02:50:49 +1000 Subject: [PATCH] Fixes #724 --- .../com/boydti/fawe/bukkit/block/BrushBoundBaseBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bukkit/src/main/java/com/boydti/fawe/bukkit/block/BrushBoundBaseBlock.java b/bukkit/src/main/java/com/boydti/fawe/bukkit/block/BrushBoundBaseBlock.java index cb94c1ae..e262c2bb 100644 --- a/bukkit/src/main/java/com/boydti/fawe/bukkit/block/BrushBoundBaseBlock.java +++ b/bukkit/src/main/java/com/boydti/fawe/bukkit/block/BrushBoundBaseBlock.java @@ -52,10 +52,10 @@ public class BrushBoundBaseBlock extends BaseBlock implements BrushHolder { @Override public BrushTool getTool() { if (tool == null && hasNbtData()) { - String json = getNbtData().getString("weBrushJson"); + StringTag json = (StringTag) getNbtData().getValue().get("weBrushJson"); if (json != null) { try { - this.tool = BrushTool.fromString(player, session, json); + this.tool = BrushTool.fromString(player, session, json.getValue()); this.tool.setHolder(this); brushCache.put(getKey(item), tool); } catch (Throwable ignore) {