made fields protected. now usable in callback

This commit is contained in:
Niklas 2020-06-28 02:13:13 +02:00
parent 9cbfd393ed
commit ecda11b620

View File

@ -11,9 +11,9 @@ import org.bukkit.util.BlockVector;
* Listens for block placements and checks if it is part of a the multiblock structure. * Listens for block placements and checks if it is part of a the multiblock structure.
*/ */
public abstract class MultiblockListener implements Listener { public abstract class MultiblockListener implements Listener {
private final BlockComponent coreBlock; protected final BlockComponent coreBlock;
private final BlockVector coreBlockOffset; protected final BlockVector coreBlockOffset;
private final MultiblockStructure structure; protected final MultiblockStructure structure;
public MultiblockListener(JavaPlugin plugin, MultiblockStructure structure, BlockVector coreBlockOffset){ public MultiblockListener(JavaPlugin plugin, MultiblockStructure structure, BlockVector coreBlockOffset){
this.structure = structure; this.structure = structure;