Made /thru work better.

This commit is contained in:
sk89q
2010-10-19 20:33:50 -07:00
parent 9124cdd91f
commit ebf5b97451
2 changed files with 14 additions and 10 deletions

View File

@@ -329,7 +329,7 @@ public class WorldEdit {
// Go through a wall
} else if (split[0].equalsIgnoreCase("/thru")) {
checkArgs(split, 0, 0, split[0]);
if (player.passThroughForwardWall(300)) {
if (player.passThroughForwardWall(6)) {
player.print("Whoosh!");
} else {
player.printError("No free spot ahead of you found.");