Oh! I found out why pistons weren't reacting. Turns out WorldServer caches block events (used for pistons, beacons and chests) and doesn't update it itself, by doing that pistons are moving now. The problem is that I'm getting ConcurrentModificationExceptions all over the place when working with them, so that's something to think about.
EDIT: Nvm I'll just keep converting to arrays. It's be less performant but it doesn't complain as much.
EDIT2: https://www.youtube.com/watch?v=DzylK1RoAd0
EDIT: Nvm I'll just keep converting to arrays. It's be less performant but it doesn't complain as much.
EDIT2: https://www.youtube.com/watch?v=DzylK1RoAd0