geforkt von Mirrors/FastAsyncWorldEdit
/thru should now treat torches and such as pass-through blocks.
Dieser Commit ist enthalten in:
Ursprung
1cadc5d7f6
Commit
1397c1de4c
@ -176,10 +176,10 @@ public class HMPlayer extends LocalPlayer {
|
|||||||
if (searchDist > 20) {
|
if (searchDist > 20) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (block.getType() == 0) {
|
if (BlockType.canPassThrough(block.getType())) {
|
||||||
if (foundNext) {
|
if (foundNext) {
|
||||||
Vector v = new Vector(block.getX(), block.getY() - 1, block.getZ());
|
Vector v = new Vector(block.getX(), block.getY() - 1, block.getZ());
|
||||||
if (world.getBlockType(v) == 0) {
|
if (BlockType.canPassThrough(world.getBlockType(v))) {
|
||||||
setPosition(v.add(0.5, 0, 0.5));
|
setPosition(v.add(0.5, 0, 0.5));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren