mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 04:26:42 +00:00
Improved overall performance by using EditSession.getBlockType() instead of EditSession.getBlock().getType().
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user