Improved Bukkit performance drastically.

This commit is contained in:
sk89q
2011-01-31 01:16:49 -08:00
parent f69184f9ab
commit faf03079d6
2 changed files with 12 additions and 5 deletions

View File

@ -76,7 +76,7 @@ public class BukkitWorld extends LocalWorld {
*/
@Override
public int getBlockType(Vector pt) {
return world.getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ()).getTypeId();
return world.getBlockTypeIdAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
}
/**