Fixed direction issues for 1.12.2 <
This commit is contained in:
parent
f6529ecf32
commit
6fa89ba03c
1 changed files with 4 additions and 4 deletions
|
@ -191,7 +191,7 @@ public class MoveLift implements Runnable {
|
|||
state.setRawData(lib.getData());
|
||||
}
|
||||
state.update(true);
|
||||
if (block.getBlockData() instanceof Directional) {
|
||||
if (!XMaterial.isNewVersion()) {
|
||||
DirectionUtil.setDirection(block, lib.getFace());
|
||||
}
|
||||
lb = lift.getBlocks().first();
|
||||
|
@ -234,7 +234,7 @@ public class MoveLift implements Runnable {
|
|||
state.setRawData(lib.getData());
|
||||
}
|
||||
state.update(true);
|
||||
if (block.getBlockData() instanceof Directional) {
|
||||
if (!XMaterial.isNewVersion()) {
|
||||
DirectionUtil.setDirection(block, lib.getFace());
|
||||
}
|
||||
lift.getBlocks().add(lib);
|
||||
|
@ -322,7 +322,7 @@ public class MoveLift implements Runnable {
|
|||
state.setRawData(lib.getData());
|
||||
}
|
||||
state.update(true);
|
||||
if (block.getBlockData() instanceof Directional) {
|
||||
if (!XMaterial.isNewVersion()) {
|
||||
DirectionUtil.setDirection(block, lib.getFace());
|
||||
}
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ public class MoveLift implements Runnable {
|
|||
state.setRawData(lib.getData());
|
||||
}
|
||||
state.update(true);
|
||||
if (block.getBlockData() instanceof Directional) {
|
||||
if (!XMaterial.isNewVersion()) {
|
||||
DirectionUtil.setDirection(block, lib.getFace());
|
||||
}
|
||||
lift.getBlocks().add(lib);
|
||||
|
|
Loading…
Reference in a new issue