Skip to content

Commit

Permalink
feat(JOML): migrate chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
pollend committed Feb 6, 2021
1 parent d169921 commit 2cf4952
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.terasology.world.block.Block;
import org.terasology.world.block.BlockManager;
import org.terasology.world.block.BlockRegion;
import org.terasology.world.block.BlockRegionc;
import org.terasology.world.block.family.BlockFamily;
import org.terasology.world.block.items.BlockItemComponent;
import org.terasology.world.block.items.OnBlockItemPlaced;
Expand Down Expand Up @@ -385,7 +386,7 @@ public void update(float delta) {
* cascades.
*/
private void randomUpdate() {
for (BlockRegion region : worldProvider.getRelevantRegions()) {
for (BlockRegionc region : worldProvider.getRelevantRegions()) {
for (int i = 0; i < 10; i++) {
int x = region.minX() + rand.nextInt(region.getSizeX());
int y = region.minY() + rand.nextInt(region.getSizeY());
Expand Down

0 comments on commit 2cf4952

Please sign in to comment.