Quark

Quark

143M Downloads

Ender grass crashes your game when it has no place to go

Alwinfy opened this issue ยท 0 comments

commented

Tested on master 999c5d1
Step 1: small end stone island in the void
Step 2: place the veggies
Step 3: flood the island
Step 4: HCF

https://pastebin.com/p40AcmAm

(my guess as to a) cause: the fleeing-water code calls onNeighborChanged. if a plant teleports, the location that it jumps to also gets onNeighborChanged called, potentially setting off other plants. with enough density this can trigger an infinitely recursive loop of jumps
possible solutions:

  • one teleport per tick?
  • break if teleportation fails?
  • idk