Solved 1.13 Regenerate chunks

Discussion in 'Spigot Plugin Development' started by eccentric, Jul 22, 2018.

  1. As part of updating the TARDIS plugin to Spigot 1.13 I have been having issues with regenerating chunks.
    Every time I call
    world.regenerateChunk(cx, cz);
    I get an error in the console:
    java.lang.RuntimeException: Error while adding chunk to cache. Too many neighbors
    at net.minecraft.server.v1_13_R1.Chunk.H( ~[craftbukkit.jar:git-Bukkit-c1d9f94]

    Any ideas?
  2. If that's all you're doing it may potentially be an issue with the server itself, seeing as its still in development
  3. Fixed in a recent CraftBukkit/Spigot commit :)