Fix ArrayIndexOutOfBounds exception placing some TEs near bedrock.Signed-off-by: Ross Allan <[email protected]> (commit: 838e6d3)