After digging through the nms code, I think I found the method it's using to determine if the player is too far away to interact with it:

https://github.com/Bukkit/CraftBukkit/blob/master/src/main/java/net/minecraft/server/TileEntityChest.java#L159

Is that right? Would it be safe to rewrite it to check this instead before closing out?