made fields protected. now usable in callback
This commit is contained in:
parent
9cbfd393ed
commit
ecda11b620
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user