hello everyone. i have a little problem with my code that i was tryin to slove for week and couldnt find anything helpful.
I'm creating mod were one block after its placed checks types of surroind blocks and replace them if they are water. Actualy loop works from time to time. It depends where it is placed. sometimes loop works fine placed on x,y,z cord but if i move block like x+1 its stops working. I'm replacing existing blocks with customAirBlock. I've checked replacing loop with stone blocks and it works in 100%. But when i put in if() else and i'm tryin to use my custom blocks things go wrong.