Added ORIENTATION_REGION and ALL LogModes, which log orientation+region and position+orientation+region respectively.

This commit is contained in:
TomyLobo
2011-08-09 01:13:57 +02:00
parent e320d34b32
commit d30cad6340
2 changed files with 14 additions and 4 deletions

View File

@ -136,11 +136,19 @@ public class WorldEdit {
break;
}
/* FALL-THROUGH */
case POSITION:
msg += " - Position: "+position;
break;
case ALL:
msg += " - Position: "+position;
/* FALL-THROUGH */
case ORIENTATION_REGION:
msg += " - Orientation: "+player.getCardinalDirection().name();
/* FALL-THROUGH */
case REGION:
try {
msg += " - Region: "+session.getSelection(player.getWorld());