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.
|
* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user