22 |
private DoorStorage store; |
private DoorStorage store; |
23 |
private DoorOpenListener handler; |
private DoorOpenListener handler; |
24 |
|
|
25 |
private Plugin plugin; |
|
26 |
|
|
27 |
public DoorBlockListener(Plugin plugin) { |
public DoorBlockListener(Plugin plugin) { |
28 |
this.plugin = plugin; |
|
29 |
|
|
30 |
store = new DoorStorage( plugin ); |
store = new DoorStorage( plugin ); |
31 |
|
|
91 |
//System.out.println( block.toString() + " / " + block.getTypeId() ); |
//System.out.println( block.toString() + " / " + block.getTypeId() ); |
92 |
|
|
93 |
|
|
94 |
int x,y,z; |
|
95 |
Block blocks[] = getAdjacentBlocks(block); |
Block blocks[] = getAdjacentBlocks(block); |
96 |
|
|
97 |
for (int i=0; i<blocks.length; i++) { |
for (int i=0; i<blocks.length; i++) { |