Skip to content

Instantly share code, notes, and snippets.

Created May 24, 2015 02:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/91f3a05fe526bed45a6c to your computer and use it in GitHub Desktop.
Save anonymous/91f3a05fe526bed45a6c to your computer and use it in GitHub Desktop.
Chunk c = player.getLocation().getChunk();
for(int x=-10; x<10; x++)
for(int z=-10; z<10; z++)
player.getWorld().refreshChunk(c.getX()+x, c.getZ()+z);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment