Fixed checkLoadedChunk

This commit is contained in:
zml2008
2011-10-09 21:57:29 -07:00
committed by Wizjany
parent b89ede09a6
commit 050eef8dc7
3 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@ public class EditSession {
return false;
}
world.checkLoadedChuck(pt);
world.checkLoadedChunk(pt);
// No invalid blocks
if (!world.isValidBlockType(type)) {
@ -394,7 +394,7 @@ public class EditSession {
* @return BaseBlock
*/
public BaseBlock rawGetBlock(Vector pt) {
world.checkLoadedChuck(pt);
world.checkLoadedChunk(pt);
int type = world.getBlockType(pt);
int data = world.getBlockData(pt);