From b1ff31c3eb2440ecc88321803f8fd0b358078a7c Mon Sep 17 00:00:00 2001 From: Pikachu920 <28607612+Pikachu920@users.noreply.github.com> Date: Sun, 30 Jun 2024 00:41:36 -0500 Subject: [PATCH] Address reviews Co-authored-by: _tud <98935832+UnderscoreTud@users.noreply.github.com> --- .../java/ch/njol/skript/classes/data/DefaultConverters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/njol/skript/classes/data/DefaultConverters.java b/src/main/java/ch/njol/skript/classes/data/DefaultConverters.java index 7429799fb56..2c8ccf69494 100644 --- a/src/main/java/ch/njol/skript/classes/data/DefaultConverters.java +++ b/src/main/java/ch/njol/skript/classes/data/DefaultConverters.java @@ -176,7 +176,7 @@ public DefaultConverters() {} return ((Block) holder).getLocation(); if (holder instanceof BlockState) return BlockUtils.getLocation(((BlockState) holder).getBlock()); - if(holder instanceof DoubleChest) { + if (holder instanceof DoubleChest) { if (((DoubleChest) holder).getLeftSide() != null) return BlockUtils.getLocation(((BlockState)((DoubleChest) holder).getLeftSide()).getBlock()); else if (((DoubleChest) holder).getRightSide() != null)