3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

/thru should now treat torches and such as pass-through blocks.

Dieser Commit ist enthalten in:
sk89q 2011-01-12 08:59:02 -08:00
Ursprung 1cadc5d7f6
Commit 1397c1de4c

Datei anzeigen

@ -176,10 +176,10 @@ public class HMPlayer extends LocalPlayer {
if (searchDist > 20) {
return false;
}
if (block.getType() == 0) {
if (BlockType.canPassThrough(block.getType())) {
if (foundNext) {
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));
return true;
}