patch.X = x;
patch.Y = y;
simulator.Terrain[y * 16 + x] = patch;
}
try { onLandPatchReceived.raiseEvent(new LandPatchReceivedEventArgs(simulator, x, y, group.PatchSize, heightmap)); }
catch (Exception e) { JLogger.error(Utils.getExceptionStackTraceAsString(e)); }
}
}