Making my own 2D Minecraft Java game, issue with destroying tiles

Hey guys! I’m new to this forum but not new to Java programming. I need help with destroying tiles I have randomly generated.

So clicking on the drawn-in tile marked “1”, made the tile marked “2” blank, which is obviously not where I clicked so I’m wondering why it does this… I have been trying for hours on my own to fix and I have no clue.

Can anyone help? If you need to see any certain code I already have, just ask me to reply it with. I don’t know what you would need to see so I just posted a screenshot. Any help would be appreciated. :slight_smile: