Improved overall performance by using EditSession.getBlockType() instead of EditSession.getBlock().getType().

This commit is contained in:
sk89q
2011-01-30 23:42:18 -08:00
parent 88d7128135
commit 2630226052
2 changed files with 19 additions and 19 deletions

View File

@ -54,6 +54,6 @@ public class EditSessionBlockChangeDegate implements BlockChangeDelegate {
}
public int getTypeId(int x, int y, int z) {
return editSession.getBlock(new Vector(x, y, z)).getType();
return editSession.getBlockType(new Vector(x, y, z));
}
}