when cubic chunks is present, (cc is a mod that makes chunks 16x16x16 instead of 16x256x16 allowing infinite height) sugar cane stops growing at only y255 then when you place one on 255 it continues past that, maybe add a check for it and ignore the height check when cc is present?