how do i fix this array issue?
问题 lemme try to explain whats happening now: when I place 3 "X's" next to each other I simply want to remove them, but its only happening part of the time, sometimes it removes all of them, and other times it removes just 1 or just 2 of them. The blocks are instances of the Block class being put in an arraylist.... Furthermore for a wider understanding: I'll randomly place blocks all over the grid and try to fill it, sometimes as im adding the blocks to the grid other blocks start disappearing.