From ecda11b62034b1c8d725fd16ca8c4c35e693b2bc Mon Sep 17 00:00:00 2001 From: Niklas Date: Sun, 28 Jun 2020 02:13:13 +0200 Subject: [PATCH] made fields protected. now usable in callback --- .../java/org/kapelle/multiblock/MultiblockListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/kapelle/multiblock/MultiblockListener.java b/src/main/java/org/kapelle/multiblock/MultiblockListener.java index c7de236..8e0aca3 100644 --- a/src/main/java/org/kapelle/multiblock/MultiblockListener.java +++ b/src/main/java/org/kapelle/multiblock/MultiblockListener.java @@ -11,9 +11,9 @@ import org.bukkit.util.BlockVector; * Listens for block placements and checks if it is part of a the multiblock structure. */ public abstract class MultiblockListener implements Listener { - private final BlockComponent coreBlock; - private final BlockVector coreBlockOffset; - private final MultiblockStructure structure; + protected final BlockComponent coreBlock; + protected final BlockVector coreBlockOffset; + protected final MultiblockStructure structure; public MultiblockListener(JavaPlugin plugin, MultiblockStructure structure, BlockVector coreBlockOffset){ this.structure = structure;